From 0813c8b92bcdf63f8a90bc97f11eae94348e18f7 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sun, 30 Sep 2018 03:21:57 +0200 Subject: [PATCH] Add pacman-contrib --- install/console/generic | 1 + updates/menu | 9 +++++++++ 2 files changed, 10 insertions(+) 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" ;;