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

Tobias Powalowski tpowa at archlinux.org
Sun May 10 08:31:53 UTC 2009


    Date: Sunday, May 10, 2009 @ 04:31:53
  Author: tpowa
Revision: 38762

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

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

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

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


Property changes on: gzip/repos/testing-i686
___________________________________________________________________
Modified: svnmerge-integrated
   - /gzip/trunk:1-38724
   + /gzip/trunk:1-38761

Copied: gzip/repos/testing-i686/gzip.install (from rev 38761, gzip/trunk/gzip.install)
===================================================================
--- testing-i686/gzip.install	                        (rev 0)
+++ testing-i686/gzip.install	2009-05-10 08:31:53 UTC (rev 38762)
@@ -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