diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-02-11 22:25:22 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-02-11 22:25:22 (GMT) |
commit | b3766e376db18909653e2dabf4b37fc050ebad63 (patch) | |
tree | 94325634126f317cfa1e375788df237b95d9e20a /abs/core-testing/which/which.install | |
parent | 740356825bdb1472489a2527a809b76e541516be (diff) | |
download | linhes_pkgbuild-b3766e376db18909653e2dabf4b37fc050ebad63.zip linhes_pkgbuild-b3766e376db18909653e2dabf4b37fc050ebad63.tar.gz linhes_pkgbuild-b3766e376db18909653e2dabf4b37fc050ebad63.tar.bz2 |
Need by splashy.
Diffstat (limited to 'abs/core-testing/which/which.install')
-rw-r--r-- | abs/core-testing/which/which.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/abs/core-testing/which/which.install b/abs/core-testing/which/which.install new file mode 100644 index 0000000..899bd6f --- /dev/null +++ b/abs/core-testing/which/which.install @@ -0,0 +1,20 @@ +infodir=/usr/share/info +filelist=(which.info) + +post_install() { + for file in ${filelist[@]}; do + install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for file in ${filelist[@]}; do + install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} + +# vim:set ts=2 sw=2 et: |