[arch-commits] Commit in e2fsprogs/trunk (PKGBUILD e2fsprogs.install)

Ronald van Haren ronald at archlinux.org
Sun Apr 26 20:29:20 UTC 2009


    Date: Sunday, April 26, 2009 @ 16:29:20
  Author: ronald
Revision: 36648

upgpkg: e2fsprogs 1.41.5-2
    check for texinfo in install scriplet

Modified:
  e2fsprogs/trunk/PKGBUILD
  e2fsprogs/trunk/e2fsprogs.install

-------------------+
 PKGBUILD          |    2 +-
 e2fsprogs.install |   23 +++++++++++------------
 2 files changed, 12 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-26 20:02:52 UTC (rev 36647)
+++ PKGBUILD	2009-04-26 20:29:20 UTC (rev 36648)
@@ -4,7 +4,7 @@
 
 pkgname=e2fsprogs
 pkgver=1.41.5
-pkgrel=1
+pkgrel=2
 pkgdesc="Ext2/3/4 filesystem utilities"
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'MIT' 'BSD')

Modified: e2fsprogs.install
===================================================================
--- e2fsprogs.install	2009-04-26 20:02:52 UTC (rev 36647)
+++ e2fsprogs.install	2009-04-26 20:29:20 UTC (rev 36648)
@@ -1,21 +1,20 @@
- infodir=/usr/share/info
-  filelist=(libext2fs.info.gz)
+infodir=/usr/share/info
+filelist=(libext2fs.info.gz)
 
-  post_install() {
+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
+}
 
-  post_upgrade() {
-    post_install $1
-  }
-
-  pre_remove() {
+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
-
-  }
-
+}




More information about the arch-commits mailing list