Commit graph

10 commits

Author SHA1 Message Date
Laurent Bigonville
5dc71af109 Really fix package initial installation when PID1 is systemd (Closes: #747863) 2015-03-20 23:12:51 +01:00
Laurent Bigonville
2f87baa5a4 Do not hardcode full path to restorecon
Use which command to detect if the executable is present or not
2013-01-31 21:21:13 +01:00
Laurent Bigonville
715368e54f Only remove /etc/init.d/nut from previous versions of nut in nut-server postinst if there are no local changes.
* Only remove /etc/init.d/nut from previous versions of nut in nut-server
  postinst if there are no local changes.
* Also remove /etc/init.d/nut in nut-client postinst. Thanks to
  Laurent Bigonville for the hint.
2013-01-13 17:49:41 +01:00
Laurent Bigonville
d54dd54840 Only fix permissions of configfiles on first install. 2013-01-13 17:49:34 +01:00
Laurent Bigonville
c79bcd71af Restore proper SELinux context for runtime created /var/run/nut directory 2012-10-09 23:39:40 +02:00
Laurent Bigonville
d518f66985 Be sure that all maintainer scripts are returning 0 at their end 2012-08-12 21:30:45 +02:00
Laurent Bigonville
a7e6c2affc Do not use dpkg-maintscript-helper to remove /etc/init.d/nut 2012-08-12 21:26:51 +02:00
Laurent Bigonville
0429bb5294 Drop /etc/default/nut → /etc/nut/nut.conf migration code, migration happends before squeeze release (Closes: #684392) 2012-08-09 21:40:24 +02:00
Laurent Bigonville
a6634bc58e Also create nut user when installing nut-client package and do not delete it on purge anymore (Closes: #682000) 2012-08-09 21:23:32 +02:00
Laurent Bigonville
910934027d Split nut package into nut-client and nut-server, keep nut package as metapackage 2011-06-27 17:47:15 +02:00
Renamed from debian/nut.postinst (Browse further)