]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - debian/rules
Imported Debian patch 1.1.1-12
[nfs-utils.git] / debian / rules
index dcc45131755716075d6078f2a21ec06badc8822e..5a65ec5ccf949a0c8361a25f7caad1c770e3eed4 100755 (executable)
@@ -2,6 +2,8 @@
 
 include /usr/share/quilt/quilt.make
 
+DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
 # Temporary root
 DEBTMP := $(CURDIR)/debian/tmp
 
@@ -41,7 +43,8 @@ binary-arch: build
        dh_installchangelogs ChangeLog
        dh_strip
        dh_compress
-       dh_fixperms -Xmount.nfs
+       dh_fixperms
+       chmod u+s debian/nfs-common/sbin/mount.nfs
        dh_installdeb
        dh_shlibdeps
        dh_gencontrol