Add remove db.lck in Update Menu
This commit is contained in:
parent
43fba98833
commit
fbb90b8604
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue