Fix for use of dpkg-buildpackage -A
[rrq/maintain_lilo.git] / debian / rules
index 92f0dc5a627c658b9f09a86439ab1bebb4387505..d8663ebe27513306cabba75bdbf1055c98812a1e 100755 (executable)
@@ -16,6 +16,11 @@ override_dh_auto_build:
        uudecode -o /dev/stdout debian/doc/tech.html.uu 2>/dev/null | tar -x -z -C debian
        uudecode -o /dev/stdout debian/doc/user.html.uu 2>/dev/null | tar -x -z -C debian
 
+override_dh_fixperms-arch:
+       dh_fixperms
+       @echo "Set execute flag to chattr-lilo hook scripts"
+       chmod 0755 debian/lilo/usr/lib/lilo/hooks/kernel/*/chattr-lilo
+
 override_dh_auto_clean:
        rm -rf debian/html
        dh_auto_clean