Laurent Bigonville
3115b529b2
Remove obsolete files and old upgrade paths for users coming from version prior to wheezy
2019-07-27 21:16:45 +02:00
Laurent Bigonville
b11ef489f7
Move pidfiles from /var/run/nut to /run/nut, there is nothing else to do since /var/run is a symlink to /run for some times now (policy 3.9.3)
2019-07-27 14:14:55 +02:00
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
6c85678343
Fix typo in debian/nut-client.postinst
2012-08-12 21:26:51 +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