diff --git a/install/console/generic b/install/console/generic index 0642e1a..c1d5126 100644 --- a/install/console/generic +++ b/install/console/generic @@ -2,6 +2,7 @@ . ./lib options=() +options+=("pacman-contrib" "Pacman contrib tools" on) options+=("base-devel" "Build tools" on) options+=("bash-completion" "Best completion in bash" on) options+=("lsof" "ls open file" on) diff --git a/updates/menu b/updates/menu index 0355b95..3683dbc 100644 --- a/updates/menu +++ b/updates/menu @@ -2,6 +2,11 @@ . ./lib options=() +if [ ! -f /usr/bin/pacdiff ]; then + options+=("Install pacman-contrib" "") + options+=("" "") +fi + if [ -f /usr/bin/trizen ]; then options+=("Upgrade with trizen" "trizen -Syu") aurhelper=1 @@ -18,6 +23,7 @@ if [ -f /usr/bin/yaourt ]; then options+=("Upgrade with yaourt" "yaourt -Syua") aurhelper=1 fi + if [ ! "$aurhelper" = "1" ]; then options+=("Install trizen" "") options+=("Install yay" "") @@ -160,6 +166,9 @@ case $sel in fi ;; 'Remove db.lck') rm /var/lib/pacman/db.lck;; + 'Install pacman-contrib') + instpkg "pacman-contrib" "" + ;; 'Install downgrade') instpkg "" "downgrade" ;;