From: Harvie Date: Sun, 22 Aug 2010 15:24:30 +0000 (+0200) Subject: Added bauerbill to pacman unlock routine X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=63d9ffb692486e62e5e8b8527aeda6934cd269f8;p=mirrors%2FPrograms.git Added bauerbill to pacman unlock routine --- diff --git a/bash/zenman/PKGBUILD b/bash/zenman/PKGBUILD index 643bfb3..21b4cb9 100644 --- a/bash/zenman/PKGBUILD +++ b/bash/zenman/PKGBUILD @@ -12,7 +12,7 @@ url="http://aur.archlinux.org/packages.php?ID=25948" depends=('pacman' 'gksu' 'xterm' 'zenity' 'libnotify' 'bash') optdepends=('espeak: Text-to-Speech update notification') source=('zenman.bash') -md5sums=('7e56bc7df2a053faf37945b8dbe851df') +md5sums=('dbb543535a65fe8223b19974ce927e69') build() { mkdir -p ${pkgdir}/usr/bin diff --git a/bash/zenman/zenman.bash b/bash/zenman/zenman.bash index 8220003..63802ce 100755 --- a/bash/zenman/zenman.bash +++ b/bash/zenman/zenman.bash @@ -162,7 +162,7 @@ zenman_speech() { #unlocker zenman_force_unlock() { if [ -e "$pacman_lock" ]; then #check if db locked... - ps -eo comm | grep -i '^\(pacman\|yaourt\|powerpill\|gtkpacman\|pacupdate\|kpacupdate\|guzuta\|YAPG\|Shaman\)' >/dev/null; #check if pacman is running... + ps -eo comm | grep -Ei '^(pacman|yaourt|powerpill|bauerbill|gtkpacman|pacupdate|kpacupdate|guzuta|YAPG|Shaman)' >/dev/null; #check if pacman is running... if [ $? != 0 ]; then "$gksu" "rm -rf '$pacman_lock'"; if [ $? != 0 ]; then