diff options
author | Federico Ceratto <federico.ceratto@gmail.com> | 2016-04-24 08:54:15 +0000 |
---|---|---|
committer | Federico Ceratto <federico.ceratto@gmail.com> | 2016-04-24 00:00:14 +0000 |
commit | 124496a035f6ec6b06d5778407e0278c7ec5cf2b (patch) | |
tree | 10e42b0622ca56b1c8b45bf64136b8a9d464a213 | |
parent | Add manpage (diff) | |
download | netdata-124496a035f6ec6b06d5778407e0278c7ec5cf2b.tar.xz netdata-124496a035f6ec6b06d5778407e0278c7ec5cf2b.zip |
Fix paths in postrm
-rw-r--r-- | debian/netdata.postrm | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/debian/netdata.postrm b/debian/netdata.postrm index c6ddc7e1..7ac581d8 100644 --- a/debian/netdata.postrm +++ b/debian/netdata.postrm @@ -14,15 +14,11 @@ case "$1" in done if getent passwd netdata >/dev/null; then - if [ -x /usr/sbin/deluser ]; then - deluser --quiet --system netdata || echo "Unable to remove netdata user" - fi + deluser --quiet --system netdata || echo "Unable to remove netdata user" fi if getent group netdata >/dev/null; then - if [ -x /usr/sbin/delgroup ]; then - delgroup --quiet --system netdata || echo "Unable to remove netdata group" - fi + delgroup --quiet --system netdata || echo "Unable to remove netdata group" fi ;; |