diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-06-10 17:30:25 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-06-10 17:30:25 +0000 |
commit | dd5222c4ae447eb7a6bda08ec5a3c2339852dc16 (patch) | |
tree | f868384a6a3676025bac736d7a688aefae8acddd /testing/man-db/man-db.install | |
parent | 622de23541903f9b6f85fe0a96d61de08372d23b (diff) |
Fri Jun 10 17:30:25 UTC 2011
Diffstat (limited to 'testing/man-db/man-db.install')
-rw-r--r-- | testing/man-db/man-db.install | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/testing/man-db/man-db.install b/testing/man-db/man-db.install deleted file mode 100644 index f6f0f27a6..000000000 --- a/testing/man-db/man-db.install +++ /dev/null @@ -1,22 +0,0 @@ -post_install() { - echo "it's recommended to create an initial" - echo "database running as root:" - echo "\"/usr/bin/mandb --quiet\"" -} - -post_upgrade() { - if [ "`vercmp $2 2.5.3-2`" -lt 0 ]; then - echo "systemuser \"man\" is no more required" - echo "run \"userdel man\". please also" - echo "chown root:root /var/cache/man" - fi - # force database rebuild to get rid off badly imported pages - if [ "`vercmp $2 2.6.0.2`" -lt 0 ]; then - echo "(re)building database..." - mandb -c --quiet - fi -} - -post_remove() { - rm -rf /var/cache/man -} |