diff options
author | Colin Guthrie <colin@mageia.org> | 2014-10-09 12:24:24 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2014-10-09 12:24:24 +0100 |
commit | 48da69a11f9282311a22cf8efbe0257539f67717 (patch) | |
tree | 259a4a1392affc6c440cdcc25915501fe94c65be | |
parent | ae75bc928b9267aa5a7f15566755d31b158db85e (diff) | |
download | rpm-helper-48da69a11f9282311a22cf8efbe0257539f67717.tar rpm-helper-48da69a11f9282311a22cf8efbe0257539f67717.tar.gz rpm-helper-48da69a11f9282311a22cf8efbe0257539f67717.tar.bz2 rpm-helper-48da69a11f9282311a22cf8efbe0257539f67717.tar.xz rpm-helper-48da69a11f9282311a22cf8efbe0257539f67717.zip |
Be quieter when disabling services on uninstall too.
We don't really care about leaving left over cruft here as the
package is getting removed. Dangling symlinks and such like can
just be left there without getting in the way too much.
(and this should be rare anyway)
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | del-service | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ + * be quieter when disabling services on uninstall too + 2014-10-09 Colin Guthrie <colin@mageia.org> 0.24.14 * be quieter when enabling services, but tell the user when it goes wrong diff --git a/del-service b/del-service index 9f8adf4..2d28963 100755 --- a/del-service +++ b/del-service @@ -93,7 +93,7 @@ if [ $num = 0 ]; then fi fi - /bin/systemctl --no-reload --quiet disable $units >/dev/null + /bin/systemctl --no-reload --quiet disable $units >/dev/null 2>&1 [ -n "$srv" -a -f /etc/rc.d/init.d/$srv ] && /sbin/chkconfig --del $srv fi |