Add pacman-contrib
This commit is contained in:
parent
6fb2b8aac3
commit
0813c8b92b
2 changed files with 10 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
. ./lib
|
. ./lib
|
||||||
|
|
||||||
options=()
|
options=()
|
||||||
|
options+=("pacman-contrib" "Pacman contrib tools" on)
|
||||||
options+=("base-devel" "Build tools" on)
|
options+=("base-devel" "Build tools" on)
|
||||||
options+=("bash-completion" "Best completion in bash" on)
|
options+=("bash-completion" "Best completion in bash" on)
|
||||||
options+=("lsof" "ls open file" on)
|
options+=("lsof" "ls open file" on)
|
||||||
|
|
|
@ -2,6 +2,11 @@
|
||||||
. ./lib
|
. ./lib
|
||||||
|
|
||||||
options=()
|
options=()
|
||||||
|
if [ ! -f /usr/bin/pacdiff ]; then
|
||||||
|
options+=("Install pacman-contrib" "")
|
||||||
|
options+=("" "")
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -f /usr/bin/trizen ]; then
|
if [ -f /usr/bin/trizen ]; then
|
||||||
options+=("Upgrade with trizen" "trizen -Syu")
|
options+=("Upgrade with trizen" "trizen -Syu")
|
||||||
aurhelper=1
|
aurhelper=1
|
||||||
|
@ -18,6 +23,7 @@ if [ -f /usr/bin/yaourt ]; then
|
||||||
options+=("Upgrade with yaourt" "yaourt -Syua")
|
options+=("Upgrade with yaourt" "yaourt -Syua")
|
||||||
aurhelper=1
|
aurhelper=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! "$aurhelper" = "1" ]; then
|
if [ ! "$aurhelper" = "1" ]; then
|
||||||
options+=("Install trizen" "")
|
options+=("Install trizen" "")
|
||||||
options+=("Install yay" "")
|
options+=("Install yay" "")
|
||||||
|
@ -160,6 +166,9 @@ case $sel in
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
'Remove db.lck') rm /var/lib/pacman/db.lck;;
|
'Remove db.lck') rm /var/lib/pacman/db.lck;;
|
||||||
|
'Install pacman-contrib')
|
||||||
|
instpkg "pacman-contrib" ""
|
||||||
|
;;
|
||||||
'Install downgrade')
|
'Install downgrade')
|
||||||
instpkg "" "downgrade"
|
instpkg "" "downgrade"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue