diff options
Diffstat (limited to '')
-rwxr-xr-x | debian/netdata-core.postrm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/debian/netdata-core.postrm b/debian/netdata-core.postrm index 1ac2941ae..358b2a773 100755 --- a/debian/netdata-core.postrm +++ b/debian/netdata-core.postrm @@ -3,7 +3,7 @@ set -e case "${1}" in - remove) + purge) # removing directory overrides for DIRECTORY in /var/cache/netdata /var/lib/netdata do @@ -24,14 +24,12 @@ case "${1}" in then groupdel netdata || echo "Unable to remove netdata group" fi - ;; - purge) # removing directories rm -rf /var/cache/netdata /var/lib/netdata /var/log/netdata ;; - upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; |