@ -66,8 +66,9 @@ build_file(){
gen_control_file "$@"
[ -f preinst ] && cp preinst "$builddir"/debian/
[ -f postinst ] && cp postinst "$builddir"/debian/
for maintfile in preinst postinst prerm postrm; do
[ -f $maintfile ] && cp $maintfile "$builddir"/debian/
done
cd -