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).
dpkg-deb, which is a bit stricter about correct package naming than cmake, complains about:
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).