Arrange update menu
This commit is contained in:
parent
1eb7570626
commit
f6779d9a51
1 changed files with 14 additions and 14 deletions
28
updates/menu
28
updates/menu
|
@ -30,6 +30,19 @@ if [ -f /var/lib/pacman/db.lck ]; then
|
||||||
options+=("Remove db.lck" "rm /var/lib/pacman/db.lck")
|
options+=("Remove db.lck" "rm /var/lib/pacman/db.lck")
|
||||||
options+=("" "")
|
options+=("" "")
|
||||||
fi
|
fi
|
||||||
|
if [ "$aurhelper" = "1" ]; then
|
||||||
|
if [ ! -f /usr/bin/downgrade ]; then
|
||||||
|
options+=("Install downgrade" "")
|
||||||
|
options+=("" "")
|
||||||
|
fi
|
||||||
|
if [ ! -f /usr/bin/pkgstats ]; then
|
||||||
|
options+=("Install pkgstats" "")
|
||||||
|
fi
|
||||||
|
if [ ! -f /usr/bin/aurvote ]; then
|
||||||
|
options+=("Install aurvote" "(AUR)")
|
||||||
|
fi
|
||||||
|
options+=("" "")
|
||||||
|
fi
|
||||||
if [ ! -f /usr/bin/trizen ]; then
|
if [ ! -f /usr/bin/trizen ]; then
|
||||||
options+=("Install trizen" "")
|
options+=("Install trizen" "")
|
||||||
fi
|
fi
|
||||||
|
@ -39,22 +52,9 @@ fi
|
||||||
if [ ! -f /usr/bin/aurman ]; then
|
if [ ! -f /usr/bin/aurman ]; then
|
||||||
options+=("Install aurman" "")
|
options+=("Install aurman" "")
|
||||||
fi
|
fi
|
||||||
options+=("" "")
|
|
||||||
if [ ! -f /usr/bin/pacdiff ]; then
|
if [ ! -f /usr/bin/pacdiff ]; then
|
||||||
options+=("Install pacman-contrib" "")
|
|
||||||
options+=("" "")
|
options+=("" "")
|
||||||
fi
|
options+=("Install pacman-contrib" "")
|
||||||
if [ "$aurhelper" = "1" ]; then
|
|
||||||
if [ ! -f /usr/bin/pkgstats ]; then
|
|
||||||
options+=("Install pkgstats" "")
|
|
||||||
fi
|
|
||||||
if [ ! -f /usr/bin/aurvote ]; then
|
|
||||||
options+=("Install aurvote" "(AUR)")
|
|
||||||
fi
|
|
||||||
if [ ! -f /usr/bin/downgrade ]; then
|
|
||||||
options+=("" "")
|
|
||||||
options+=("Install downgrade" "")
|
|
||||||
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 \
|
||||||
|
|
Loading…
Reference in a new issue