diff options
Diffstat (limited to 'bin/installer-gtk')
-rwxr-xr-x | bin/installer-gtk | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/bin/installer-gtk b/bin/installer-gtk index 0782a86..8c1ce25 100755 --- a/bin/installer-gtk +++ b/bin/installer-gtk @@ -1,23 +1,9 @@ #!/bin/bash INSTALL_DIR=/opt/installer - -DIALOG="Xdialog" - -VERSION=$(cat ${INSTALL_DIR}/version-stamp) -LATEST_VERSION=$(wget -O - http://dev.gentoo.org/~agaffney/gli/releases/ 2>/dev/null | grep -e 'installer-' | sed -e 's:^.\+>installer-::' -e 's:\.tar\.bz2.\+$::' | sort -r | head -n 1) - -[ -z ${LATEST_VERSION} ] && LATEST_VERSION=0 - -if [ ${VERSION} -lt ${LATEST_VERSION} ] -then - if $(${DIALOG} --title "Upgrade Installer" --yesno "Would you like to upgrade the Gentoo Linux Installer to the latest version before running?" 0 0) - then - ${INSTALL_DIR}/misc/updategtkfe && exit 0 - fi -fi - export PYTHONPATH="${INSTALL_DIR}" cd ${INSTALL_DIR}/fe/gtk ./gtkfe.py + + |