Support some maintainer scripts
parent
4c48443809
commit
7c53b9e2dc
5
aptpkg
5
aptpkg
|
@ -66,8 +66,9 @@ build_file(){
|
||||||
|
|
||||||
gen_control_file "$@"
|
gen_control_file "$@"
|
||||||
|
|
||||||
[ -f preinst ] && cp preinst "$builddir"/debian/
|
for maintfile in preinst postinst prerm postrm; do
|
||||||
[ -f postinst ] && cp postinst "$builddir"/debian/
|
[ -f $maintfile ] && cp $maintfile "$builddir"/debian/
|
||||||
|
done
|
||||||
|
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue