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