From fbb90b8604796908812ef0c2d5b65899f5a13d14 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Fri, 18 Dec 2015 22:42:21 +0100 Subject: [PATCH] Add remove db.lck in Update Menu --- updates/menu | 3 +++ 1 file changed, 3 insertions(+) diff --git a/updates/menu b/updates/menu index 8a483e4..b09cabd 100644 --- a/updates/menu +++ b/updates/menu @@ -21,6 +21,8 @@ options+=("" "") options+=("Edit pacman.conf" "") options+=("Edit mirrorlist" "") options+=("" "") +options+=("Remove db.lck" "rm /var/lib/pacman/db.lck") +options+=("" "") if [ "$aurhelper" = "1" ]; then if [ ! -f /usr/bin/yaourt ]; then options+=("Install yaourt" "") @@ -75,6 +77,7 @@ case $sel in 'Clean') pacman -Sc;; 'Edit pacman.conf') nano /etc/pacman.conf;; 'Edit mirrorlist') nano /etc/pacman.d/mirrorlist;; + 'Remove db.lck') rm /var/lib/pacman/db.lck;; 'Install yaourt') if(confirm "Yaourt allow you to access the AUR applications.\nBecause is not possible to compile applications as root,\nthis installer create an aurbuilder user.\n\nInstall yaourt ?") then clear