Support some maintainer scripts

main
earnest ma 2021-07-26 23:14:32 -04:00
parent 4c48443809
commit 7c53b9e2dc
No known key found for this signature in database
GPG Key ID: 6B361FA81C5FB695
1 changed files with 3 additions and 2 deletions

5
aptpkg
View File

@ -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 -