summaryrefslogtreecommitdiffstats
path: root/abs/core/pinentry/pinentry.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 17:55:16 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 17:55:16 (GMT)
commit485e89f1ec966ac42a5f7dc9e3881157bee2acb8 (patch)
tree40e9b60b7dc1a264e72a442f5167414fd45edc55 /abs/core/pinentry/pinentry.install
parent00b131694e084a6deb9caaca2d940c63b9990384 (diff)
downloadlinhes_pkgbuild-485e89f1ec966ac42a5f7dc9e3881157bee2acb8.zip
linhes_pkgbuild-485e89f1ec966ac42a5f7dc9e3881157bee2acb8.tar.gz
linhes_pkgbuild-485e89f1ec966ac42a5f7dc9e3881157bee2acb8.tar.bz2
pinentry 0.8.1
-new
Diffstat (limited to 'abs/core/pinentry/pinentry.install')
-rw-r--r--abs/core/pinentry/pinentry.install20
1 files changed, 20 insertions, 0 deletions
diff --git a/abs/core/pinentry/pinentry.install b/abs/core/pinentry/pinentry.install
new file mode 100644
index 0000000..eed2c71
--- /dev/null
+++ b/abs/core/pinentry/pinentry.install
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(pinentry.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}