diff options
author | James Meyer <jams@linhes.org> | 2010-12-04 23:48:49 (GMT) |
---|---|---|
committer | James Meyer <jams@linhes.org> | 2010-12-04 23:48:49 (GMT) |
commit | 037ab1a6a2fee07c83b47dc4d4ffd629b9052e85 (patch) | |
tree | a4256da38a768da362aad34ad9a8bcc7da611c30 /abs/core/man-db/man-db.install | |
parent | 0b251e4b5f6d56e5aba84aaf780fbf4e6a289245 (diff) | |
parent | 2ddfcdc1360af607e5925afe0e0f3562ad538738 (diff) | |
download | linhes_pkgbuild-037ab1a6a2fee07c83b47dc4d4ffd629b9052e85.zip linhes_pkgbuild-037ab1a6a2fee07c83b47dc4d4ffd629b9052e85.tar.gz linhes_pkgbuild-037ab1a6a2fee07c83b47dc4d4ffd629b9052e85.tar.bz2 |
Merge branch 'testing' of ssh://linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/man-db/man-db.install')
-rw-r--r-- | abs/core/man-db/man-db.install | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/abs/core/man-db/man-db.install b/abs/core/man-db/man-db.install new file mode 100644 index 0000000..6a0f36b --- /dev/null +++ b/abs/core/man-db/man-db.install @@ -0,0 +1,18 @@ +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 +} + +post_remove() { + rm -rf /var/cache/man +} + |