r2270: Autocommit for make-debian
[clsql.git] / debian / rules
index 3e87e13add6d1752cf5598abde9e2d92d6c1ded1..b3b2b0bb2b88c1bf40c3684c5c0a81dca0ea46bb 100755 (executable)
@@ -132,7 +132,8 @@ install: build
                sed -e "s/%%/$$l/;" debian/preinst.template > debian/$$p.preinst ;\
                sed -e "s/%%/$$l/;" debian/prerm.template > debian/$$p.prerm ;\
                sed -e "s/%%/$$l/;" debian/postinst.template > debian/$$p.postinst ;\
-               chmod +x debian/$$p.prerm debian/$$p.prerm; \
+               chown root.root debian/$$p.prerm debian/$$p.prerm debian/$pp.preinst; \
+               chmod +x debian/$$p.prerm debian/$$p.prerm debian/$$p.preinst; \
        done