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 mirrorlist" "")
options+=("" "")
options+=("Remove db.lck" "rm /var/lib/pacman/db.lck")
options+=("" "")
if [ -! f /usr/bin/downgrade ]; then
if [ -f /var/lib/pacman/db.lck ]; then
options+=("Remove db.lck" "rm /var/lib/pacman/db.lck")
options+=("" "")
fi
if [ ! -f /usr/bin/downgrade ]; then
options+=("Install downgrade" "")
options+=("" "")
fi