summaryrefslogtreecommitdiffstats
path: root/abs/extra/dejagnu/dejagnu.install
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-07-21 07:33:55 (GMT)
committerCecil <knoppmyth@gmail.com>2011-07-21 07:33:55 (GMT)
commit4ee0734b55d58f9b6088e781fbcdaab57a4a05a1 (patch)
tree3a690312e999d1da52f4b3bd4bf62a154b6c0cf7 /abs/extra/dejagnu/dejagnu.install
parent8eff6e10d37c282a5eb2e8e295f12c444b7f45bd (diff)
parent112ada2b9c2ca116b7d30cefd179f4e2b4446095 (diff)
downloadlinhes_pkgbuild-4ee0734b55d58f9b6088e781fbcdaab57a4a05a1.zip
linhes_pkgbuild-4ee0734b55d58f9b6088e781fbcdaab57a4a05a1.tar.gz
linhes_pkgbuild-4ee0734b55d58f9b6088e781fbcdaab57a4a05a1.tar.bz2
Merge branch 'testing' of ssh://cesman@linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra/dejagnu/dejagnu.install')
-rw-r--r--abs/extra/dejagnu/dejagnu.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/abs/extra/dejagnu/dejagnu.install b/abs/extra/dejagnu/dejagnu.install
new file mode 100644
index 0000000..0e3c430
--- /dev/null
+++ b/abs/extra/dejagnu/dejagnu.install
@@ -0,0 +1,15 @@
+infodir=usr/share/info
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ install-info $infodir/dejagnu.info.gz $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ install-info --delete $infodir/dejagnu.info.gz $infodir/dir 2> /dev/null
+}