[arch-commits] Commit in gettext/repos (testing-x86_64 testing-x86_64/gettext.install)
Allan McRae
allan at archlinux.org
Sat Mar 21 04:04:38 UTC 2009
Date: Saturday, March 21, 2009 @ 00:04:38
Author: allan
Revision: 30636
Merged revisions 30633 via svnmerge from
svn+ssh://archlinux.org/srv/svn-packages/gettext/trunk
........
r30633 | allan | 2009-03-21 03:51:48 +0000 (Sat, 21 Mar 2009) | 1 line
add missing install script
........
Added:
gettext/repos/testing-x86_64/gettext.install
(from rev 30633, gettext/trunk/gettext.install)
Modified:
gettext/repos/testing-x86_64/ (properties)
-----------------+
gettext.install | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
Property changes on: gettext/repos/testing-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
- /gettext/trunk:1-30629
+ /gettext/trunk:1-30635
Copied: gettext/repos/testing-x86_64/gettext.install (from rev 30633, gettext/trunk/gettext.install)
===================================================================
--- testing-x86_64/gettext.install (rev 0)
+++ testing-x86_64/gettext.install 2009-03-21 04:04:38 UTC (rev 30636)
@@ -0,0 +1,22 @@
+infodir=/usr/share/info
+filelist=(gettext.info.gz autosprintf.info.gz)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file $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 $infodir/dir 2> /dev/null
+ done
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list