From 63d9ffb692486e62e5e8b8527aeda6934cd269f8 Mon Sep 17 00:00:00 2001 From: Harvie Date: Sun, 22 Aug 2010 17:24:30 +0200 Subject: [PATCH] Added bauerbill to pacman unlock routine --- bash/zenman/PKGBUILD | 2 +- bash/zenman/zenman.bash | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2