Add pkgstats and aurvote
This commit is contained in:
parent
d6215a2a50
commit
b19d8db69d
1 changed files with 12 additions and 0 deletions
12
updates/menu
12
updates/menu
|
@ -39,6 +39,12 @@ if [ "$aurhelper" = "1" ]; then
|
||||||
if [ ! -f /usr/bin/packer ]; then
|
if [ ! -f /usr/bin/packer ]; then
|
||||||
options+=("Install packer" "")
|
options+=("Install packer" "")
|
||||||
fi
|
fi
|
||||||
|
if [ ! -f /usr/bin/pkgstats ]; then
|
||||||
|
options+=("Install pkgstats" "")
|
||||||
|
fi
|
||||||
|
if [ ! -f /usr/bin/aurvote ]; then
|
||||||
|
options+=("Install aurvote" "")
|
||||||
|
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 \
|
||||||
|
@ -109,6 +115,12 @@ case $sel in
|
||||||
pacman -S --needed packer
|
pacman -S --needed packer
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
'Install pkgstats')
|
||||||
|
pacman -S --needed pkgstats
|
||||||
|
;;
|
||||||
|
'Install aurvote')
|
||||||
|
pacman -S --needed aurvote
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in a new issue