aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2011-01-23 19:36:23 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2011-01-23 19:36:23 +0000
commit6c0b07fc559eedfa72a412fc6cdb4ff7d5e1fcef (patch)
tree2eb19d2baa3360a60e9a2ebc0008a34cb371ef23
parent41ab7074d725e1af31ff996607007b3a4e1cf965 (diff)
downloadrpm-helper-6c0b07fc559eedfa72a412fc6cdb4ff7d5e1fcef.tar
rpm-helper-6c0b07fc559eedfa72a412fc6cdb4ff7d5e1fcef.tar.gz
rpm-helper-6c0b07fc559eedfa72a412fc6cdb4ff7d5e1fcef.tar.bz2
rpm-helper-6c0b07fc559eedfa72a412fc6cdb4ff7d5e1fcef.tar.xz
rpm-helper-6c0b07fc559eedfa72a412fc6cdb4ff7d5e1fcef.zip
Fix typo in systemd services removal
-rw-r--r--Makefile2
-rw-r--r--NEWS3
-rwxr-xr-xdel-service3
3 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d34a084..e61a540 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
PACKAGE = rpm-helper
-VERSION = 0.23.2
+VERSION = 0.23.3
SVNPATH = svn+ssh://svn.mandriva.com/svn/soft/rpm/$(PACKAGE)
SCRIPT_FILES = add-user del-user add-service del-service create-file \
diff --git a/NEWS b/NEWS
index dfcc891..f30bd37 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+2011-01-23 Eugeni Dodonov <eugeni@mandriva.com> 0.23.3
+ * fix typo in services removal (#62278)
+
2011-01-23 Eugeni Dodonov <eugeni@mandriva.com> 0.23.2
* add systemd support for services addition/removal (#62278)
diff --git a/del-service b/del-service
index 7a8ca00..89303f3 100755
--- a/del-service
+++ b/del-service
@@ -25,8 +25,7 @@ if [ $num = 0 ]; then
fi
# support for systemd
if [ -x /bin/systemctl ];
- /bin/systemctl stop ${srv}.service > /dev/null 2>&1
- /bin/systemctl enable ${srv}.service > /dev/null 2>&1
+ /bin/systemctl disable ${srv}.service > /dev/null 2>&1
fi
/sbin/chkconfig --del $srv
fi