[arch-commits] Commit in mysql/trunk (mysql.install)
Andrea Scarpino
andrea at archlinux.org
Fri Feb 26 22:47:27 UTC 2010
Date: Friday, February 26, 2010 @ 17:47:26
Author: andrea
Revision: 70483
fix to remove correctly mysql user and group
Modified:
mysql/trunk/mysql.install
---------------+
mysql.install | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: mysql.install
===================================================================
--- mysql.install 2010-02-26 22:23:57 UTC (rev 70482)
+++ mysql.install 2010-02-26 22:47:26 UTC (rev 70483)
@@ -12,6 +12,6 @@
}
post_remove(){
- getent passwd mysql >/dev/null 2>&1 || userdel mysql &> /dev/null
- getent group mysql >/dev/null 2>&1 || groupdel mysql &> /dev/null
+ getent passwd mysql >/dev/null 2>&1 && userdel mysql &> /dev/null
+ getent group mysql >/dev/null 2>&1 && groupdel mysql &> /dev/null
}
More information about the arch-commits
mailing list