[arch-commits] Commit in automake/trunk (automake.install)
andyrtr at archlinux.org
andyrtr at archlinux.org
Wed Nov 26 18:01:23 UTC 2008
Date: Wednesday, November 26, 2008 @ 13:01:23
Author: andyrtr
Revision: 19548
added install file
Added:
automake/trunk/automake.install
------------------+
automake.install | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
Added: automake.install
===================================================================
--- automake.install (rev 0)
+++ automake.install 2008-11-26 18:01:23 UTC (rev 19548)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(automake.info automake.info-1 automake.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
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list