diff options
author | Michael Hanson <hansonorders@verison.net> | 2010-03-29 23:44:06 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verison.net> | 2010-03-29 23:44:06 (GMT) |
commit | 7eb55688e5889217f277f5153bbb65a556fad7e5 (patch) | |
tree | 15805e6aabba36634b21b933ef8845fe30f803a6 /abs/extra-testing/gpgme/gpgme.install | |
parent | ea959df99225935b744e6abaac34db428857481c (diff) | |
parent | 5dfeda318a5b6725cf441cc936ace916448baf79 (diff) | |
download | linhes_pkgbuild-7eb55688e5889217f277f5153bbb65a556fad7e5.zip linhes_pkgbuild-7eb55688e5889217f277f5153bbb65a556fad7e5.tar.gz linhes_pkgbuild-7eb55688e5889217f277f5153bbb65a556fad7e5.tar.bz2 |
Merge branch 'master' of mihanson@knoppmyth.net:LinHES-PKGBUILD
Diffstat (limited to 'abs/extra-testing/gpgme/gpgme.install')
-rw-r--r-- | abs/extra-testing/gpgme/gpgme.install | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/abs/extra-testing/gpgme/gpgme.install b/abs/extra-testing/gpgme/gpgme.install new file mode 100644 index 0000000..b54620d --- /dev/null +++ b/abs/extra-testing/gpgme/gpgme.install @@ -0,0 +1,18 @@ +infodir=/usr/share/info +filelist=(gpgme.info gpgme.info-1 gpgme.info-2) + +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 +} |