Skip to content

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

Merged
kristrev merged 1 commit intokristrev:masterfrom
relet:master
Oct 2, 2015
Merged

[FIX] permissions in postinst and prerm / project name / postinst behavioir on failure#10
kristrev merged 1 commit intokristrev:masterfrom
relet:master

Conversation

@relet
Copy link
Contributor

@relet relet commented Oct 2, 2015

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).

kristrev added a commit that referenced this pull request Oct 2, 2015
[FIX] permissions in postinst and prerm / project name / postinst behavioir on failure
@kristrev kristrev merged commit 4f2f84a into kristrev:master Oct 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants