diff options
author | James Meyer <james.meyer@operamail.com> | 2010-08-30 22:26:00 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-08-30 22:26:00 (GMT) |
commit | 1f175a7b07b9553ce98d0546ac04dbb925ec0bc9 (patch) | |
tree | c969070115611a8a75f23d468aa5e0cf86a08121 /abs/extra/gpgme/gpgme.install | |
parent | c4bd4457b5d640e1c8f5afbca7cd54c53691e5fc (diff) | |
download | linhes_pkgbuild-1f175a7b07b9553ce98d0546ac04dbb925ec0bc9.zip linhes_pkgbuild-1f175a7b07b9553ce98d0546ac04dbb925ec0bc9.tar.gz linhes_pkgbuild-1f175a7b07b9553ce98d0546ac04dbb925ec0bc9.tar.bz2 |
RESYNC EXTRA:
synced extra-testing -> extra repo
Signed-off-by: James Meyer <james.meyer@operamail.com>
Diffstat (limited to 'abs/extra/gpgme/gpgme.install')
-rw-r--r-- | abs/extra/gpgme/gpgme.install | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/abs/extra/gpgme/gpgme.install b/abs/extra/gpgme/gpgme.install new file mode 100644 index 0000000..b54620d --- /dev/null +++ b/abs/extra/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 +} |