kristrev / multi

MULTI is a command line network manager for Linux with multihoming support.
GNU General Public License v3.0
40 stars 16 forks source link

[FIX] permissions in postinst and prerm / project name / postinst behavioir on failure #10

Closed relet closed 9 years ago

relet commented 9 years ago

dpkg-deb, which is a bit stricter about correct package naming than cmake, complains about:

dpkg-deb: error: maintainer script 'postinst' has bad permissions 644 (must be >=0555 and <=0775)
dpkg-deb: error: maintainer script 'prerm' has bad permissions 644 (must be >=0555 and <=0775)
dpkg-deb: error: package name has characters that aren't lowercase alphanums or '-+.'

I also included a fix to complete postinst in case 'systemctl start ...' fails. Otherwise the debian package will block installation of subsequent packages until the issue is resolved (which might be a reboot when just having upgraded to systemd).