[arch-commits] Commit in nfs-utils/trunk (PKGBUILD)

Dave Reisner dreisner at archlinux.org
Fri Jul 15 20:22:48 EDT 2011


    Date: Friday, July 15, 2011 @ 20:22:48
  Author: dreisner
Revision: 131837

upgpkg: nfs-utils 1.2.3-3
FS#25120: fix python shebangs for python2

Modified:
  nfs-utils/trunk/PKGBUILD

----------+
 PKGBUILD |    3 +++
 1 file changed, 3 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-07-16 00:19:32 UTC (rev 131836)
+++ PKGBUILD	2011-07-16 00:22:48 UTC (rev 131837)
@@ -55,6 +55,9 @@
   cd $srcdir/${pkgname}-${pkgver}
   make DESTDIR=$pkgdir install
 
+  # support python2 (FS#25120)
+  sed -i '1s/python$/python2/' "$pkgdir"/usr/sbin/{nfsiostat,mountstats}
+
   # NFS & NFSv4 init scripts
   install -D -m 755 ../nfs-common "$pkgdir/"etc/rc.d/nfs-common
   install -D -m 755 ../nfs-server "$pkgdir/"etc/rc.d/nfs-server



More information about the arch-commits mailing list