summaryrefslogtreecommitdiffstats
path: root/abs/core/dejagnu/dejagnu.install
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-07-21 06:43:24 (GMT)
committerCecil <knoppmyth@gmail.com>2011-07-21 06:43:24 (GMT)
commitb82dab737eaa8d38fa8e3ac3689a16619f9160b4 (patch)
treecd7b882b3f0ba686deb39c1b653d98fafe092100 /abs/core/dejagnu/dejagnu.install
parent9b099f713d930c76cdf81e27a7956ff3c74dc697 (diff)
parent09ec7e57ac7f9907122de23be187b1f05d19a18f (diff)
downloadlinhes_pkgbuild-b82dab737eaa8d38fa8e3ac3689a16619f9160b4.zip
linhes_pkgbuild-b82dab737eaa8d38fa8e3ac3689a16619f9160b4.tar.gz
linhes_pkgbuild-b82dab737eaa8d38fa8e3ac3689a16619f9160b4.tar.bz2
Merge branch 'testing' of ssh://cesman@linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/dejagnu/dejagnu.install')
-rw-r--r--abs/core/dejagnu/dejagnu.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/abs/core/dejagnu/dejagnu.install b/abs/core/dejagnu/dejagnu.install
new file mode 100644
index 0000000..0e3c430
--- /dev/null
+++ b/abs/core/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
+}