diff --git a/debian/backupninja.postinst b/debian/backupninja.postinst index 89c991db0da55c72bbc62381506e23a789b5340c..159df1f73a2b57a8f38df811f60f9592defdd36d 100644 --- a/debian/backupninja.postinst +++ b/debian/backupninja.postinst @@ -1,12 +1,6 @@ #!/bin/sh set -e -# Automatically added by dh_installmenu -if [ "$1" = "configure" ] -then - chmod 770 /etc/backup.d -fi - # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. diff --git a/debian/rules b/debian/rules index 61ca5ab74c742309d8f5442e57cc39ff29fd74d8..e92a8c98cdfe23060e9b4ee8107479b13f362f25 100755 --- a/debian/rules +++ b/debian/rules @@ -21,6 +21,10 @@ override_dh_auto_install: override_dh_compress: dh_compress -Xexample +override_dh_fixperms: + dh_fixperms + chmod 770 $(TMP)/etc/backup.d + override_dh_installchangelogs: dh_installchangelogs ChangeLog