[arch-commits] Commit in gzip/repos (testing-x86_64 testing-x86_64/gzip.install)

Tobias Powalowski tpowa at archlinux.org
Sun May 10 08:35:25 UTC 2009


    Date: Sunday, May 10, 2009 @ 04:35:24
  Author: tpowa
Revision: 38763

Merged revisions 38761 via svnmerge from 
svn+ssh://svn.archlinux.org/srv/svn-packages/gzip/trunk

........
  r38761 | tpowa | 2009-05-10 10:31:10 +0200 (So, 10 Mai 2009) | 2 lines
  
  'add missing install file'
........

Added:
  gzip/repos/testing-x86_64/gzip.install
    (from rev 38761, gzip/trunk/gzip.install)
Modified:
  gzip/repos/testing-x86_64/	(properties)

--------------+
 gzip.install |   21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)


Property changes on: gzip/repos/testing-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /gzip/trunk:1-38723
   + /gzip/trunk:1-38762

Copied: gzip/repos/testing-x86_64/gzip.install (from rev 38761, gzip/trunk/gzip.install)
===================================================================
--- testing-x86_64/gzip.install	                        (rev 0)
+++ testing-x86_64/gzip.install	2009-05-10 08:35:24 UTC (rev 38763)
@@ -0,0 +1,21 @@
+infodir=/usr/share/info
+filelist=(gzip.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+    usr/bin/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
+    usr/bin/install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+  done
+}
+




More information about the arch-commits mailing list