[arch-commits] Commit in dejagnu/trunk (dejagnu.install)
Allan McRae
allan at archlinux.org
Sun Mar 13 11:52:34 UTC 2011
Date: Sunday, March 13, 2011 @ 07:52:34
Author: allan
Revision: 114410
upgpkg: dejagnu 1.5-1
upstream update
Added:
dejagnu/trunk/dejagnu.install
-----------------+
dejagnu.install | 15 +++++++++++++++
1 file changed, 15 insertions(+)
Added: dejagnu.install
===================================================================
--- dejagnu.install (rev 0)
+++ dejagnu.install 2011-03-13 11:52:34 UTC (rev 114410)
@@ -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
+}
More information about the arch-commits
mailing list