[arch-commits] Commit in man-db/trunk (man-db.install)

andyrtr at archlinux.org andyrtr at archlinux.org
Thu Feb 19 09:53:45 UTC 2009


    Date: Thursday, February 19, 2009 @ 04:53:45
  Author: andyrtr
Revision: 27333

upgpkg: man-db 2.5.3-2
    added a msg for user of the former -1 testing pkg and the one from community

Modified:
  man-db/trunk/man-db.install

----------------+
 man-db.install |    8 ++++++++
 1 file changed, 8 insertions(+)

Modified: man-db.install
===================================================================
--- man-db.install	2009-02-19 09:47:16 UTC (rev 27332)
+++ man-db.install	2009-02-19 09:53:45 UTC (rev 27333)
@@ -4,6 +4,14 @@
   echo "\"/usr/bin/mandb --quiet\""
 }
 
+post_upgrade() {
+  if [ "`vercmp $2 2.5.3-2`" -lt 0 ]; then
+     echo "systemuser \"man\" is no more requiered"
+     echo "run \"userdel man\". please also"
+     echo "chown root:root /var/cache/man"
+  fi
+}
+
 post_remove() {
   rm -rf /var/cache/man
 }




More information about the arch-commits mailing list