Fix command redirection in postinst script
[rrq/maintain_lilo.git] / debian / rules
index 1dc48df2bb379cfc3e24ef9e05b583b1c96f7e21..0191238fb2db0b12c043b234bfa3ea58f4a383c3 100755 (executable)
 override_dh_auto_build:
        dh_auto_build
        @echo "Extract html documentation (tech.html, user.html)"
-       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
+       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_install:
-       dh_install
+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