X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=debian%2Frules;h=58eb43abf692e1876afa6a044213a8f52a9880cd;hp=9f46a9c3ebeb4883f97b842a3e65a68694d79b37;hb=952e745e0119f574a110b94bcf73a88e96aa682b;hpb=c9d55552edf17d4efc15530e5f4f5c6bc978445b;ds=sidebyside diff --git a/debian/rules b/debian/rules index 9f46a9c..58eb43a 100755 --- a/debian/rules +++ b/debian/rules @@ -44,8 +44,10 @@ binary-arch: build dh_movefiles # Fixups Start Here # cd debian && \ - for f in rpc.lockd rpc.statd showmount; do \ - mv tmp/usr/sbin/$$f nfs-common/sbin/$$f; \ + for f in lockd statd showmount; do \ + mv tmp/usr/sbin/*$$f nfs-common/sbin; \ + perl -pi -e "s#/usr(/sbin/(rpc\\.)?$$f)#\$$1#g" \ + nfs-common/usr/share/man/man8/$$f.8; \ done; \ rm -f tmp/usr/sbin/*quota*; \ rm -f tmp/usr/share/man/man8/*quota*; \