[arch-commits] Commit in (2 files)

Dan McGee dan at archlinux.org
Thu Jun 11 19:47:46 UTC 2015


    Date: Thursday, June 11, 2015 @ 21:47:46
  Author: dan
Revision: 240607

Remove userdel commands

Modified:
  memcached/trunk/memcached.install
  pgbouncer/trunk/pgbouncer.install

-----------------------------------+
 memcached/trunk/memcached.install |    9 ---------
 pgbouncer/trunk/pgbouncer.install |    9 ---------
 2 files changed, 18 deletions(-)

Modified: memcached/trunk/memcached.install
===================================================================
--- memcached/trunk/memcached.install	2015-06-11 18:14:04 UTC (rev 240606)
+++ memcached/trunk/memcached.install	2015-06-11 19:47:46 UTC (rev 240607)
@@ -10,12 +10,3 @@
 post_upgrade() {
   post_install $1
 }
-
-post_remove() {
-  if getent passwd memcached >/dev/null; then
-    userdel memcached
-  fi
-  if getent group memcached >/dev/null; then
-    groupdel memcached
-  fi
-}

Modified: pgbouncer/trunk/pgbouncer.install
===================================================================
--- pgbouncer/trunk/pgbouncer.install	2015-06-11 18:14:04 UTC (rev 240606)
+++ pgbouncer/trunk/pgbouncer.install	2015-06-11 19:47:46 UTC (rev 240607)
@@ -14,12 +14,3 @@
 post_upgrade() {
   gpasswd -a pgbouncer postgres
 }
-
-post_remove() {
-  if getent passwd pgbouncer >/dev/null; then
-    userdel pgbouncer
-  fi
-  if getent group pgbouncer >/dev/null; then
-    groupdel pgbouncer
-  fi
-}



More information about the arch-commits mailing list