[arch-commits] Commit in util-linux/trunk (PKGBUILD util-linux.install)

Tom Gundersen tomegun at archlinux.org
Wed Oct 3 20:36:24 UTC 2012


    Date: Wednesday, October 3, 2012 @ 16:36:23
  Author: tomegun
Revision: 167925

upgpkg: util-linux 2.22-7

remove uuidd group/user handling, this is now done by filesystem

Modified:
  util-linux/trunk/PKGBUILD
  util-linux/trunk/util-linux.install

--------------------+
 PKGBUILD           |    2 +-
 util-linux.install |   19 -------------------
 2 files changed, 1 insertion(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-10-03 20:35:33 UTC (rev 167924)
+++ PKGBUILD	2012-10-03 20:36:23 UTC (rev 167925)
@@ -4,7 +4,7 @@
 
 pkgname=util-linux
 pkgver=2.22
-pkgrel=6
+pkgrel=7
 pkgdesc="Miscellaneous system utilities for Linux"
 url="http://www.kernel.org/pub/linux/utils/util-linux/"
 arch=('i686' 'x86_64')

Modified: util-linux.install
===================================================================
--- util-linux.install	2012-10-03 20:35:33 UTC (rev 167924)
+++ util-linux.install	2012-10-03 20:36:23 UTC (rev 167925)
@@ -1,13 +1,4 @@
 post_install() {
-  # create user for uuidd
-  if ! getent group uuidd >/dev/null; then
-    groupadd -r uuidd
-  fi
-
-  if ! getent passwd uuidd >/dev/null; then
-    useradd -r -s /sbin/nologin -d / -g uuidd uuidd
-  fi
-
   # we don't want use systemd-tmpfiles here because
   # the package dependency would create a circular dep.
   if [ ! -d run/uuidd ]; then
@@ -27,13 +18,3 @@
 
   post_install
 }
-
-post_remove() {
-  if getent passwd uuidd >/dev/null; then
-    userdel uuidd
-  fi
-
-  if getent group uuidd >/dev/null; then
-    userdel uuidd
-  fi
-}




More information about the arch-commits mailing list