Reorder update menu

This commit is contained in:
MatMoul 2017-02-03 19:40:34 +01:00
parent b19d8db69d
commit cb385a8f14

View file

@ -33,18 +33,19 @@ if [ ! -f /usr/bin/downgrade ]; then
options+=("" "") options+=("" "")
fi fi
if [ "$aurhelper" = "1" ]; then if [ "$aurhelper" = "1" ]; then
if [ ! -f /usr/bin/yaourt ]; then
options+=("Install yaourt" "")
fi
if [ ! -f /usr/bin/packer ]; then
options+=("Install packer" "")
fi
if [ ! -f /usr/bin/pkgstats ]; then if [ ! -f /usr/bin/pkgstats ]; then
options+=("Install pkgstats" "") options+=("Install pkgstats" "")
fi fi
if [ ! -f /usr/bin/aurvote ]; then if [ ! -f /usr/bin/aurvote ]; then
options+=("Install aurvote" "") options+=("Install aurvote" "")
fi fi
options+=("" "")
if [ ! -f /usr/bin/yaourt ]; then
options+=("Install yaourt" "")
fi
if [ ! -f /usr/bin/packer ]; then
options+=("Install packer" "")
fi
fi fi
sel=$(whiptail --backtitle "$apptitle" --title "Updates Menu :" --menu "" --cancel-button "Back" 0 0 0 \ sel=$(whiptail --backtitle "$apptitle" --title "Updates Menu :" --menu "" --cancel-button "Back" 0 0 0 \