Add Install downgrade in Update Menu

This commit is contained in:
MatMoul 2015-12-19 20:16:33 +01:00
parent d226bbe943
commit d5be0c2cb9

View file

@ -21,9 +21,11 @@ options+=("" "")
options+=("Edit pacman.conf" "") options+=("Edit pacman.conf" "")
options+=("Edit mirrorlist" "") options+=("Edit mirrorlist" "")
options+=("" "") options+=("" "")
options+=("Remove db.lck" "rm /var/lib/pacman/db.lck") if [ -f /var/lib/pacman/db.lck ]; then
options+=("" "") options+=("Remove db.lck" "rm /var/lib/pacman/db.lck")
if [ -! f /usr/bin/downgrade ]; then options+=("" "")
fi
if [ ! -f /usr/bin/downgrade ]; then
options+=("Install downgrade" "") options+=("Install downgrade" "")
options+=("" "") options+=("" "")
fi fi