diff options
-rw-r--r-- | contrib/debian/netdata.postrm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/debian/netdata.postrm b/contrib/debian/netdata.postrm index 4ab4eeadd9..94e82bcd45 100644 --- a/contrib/debian/netdata.postrm +++ b/contrib/debian/netdata.postrm @@ -15,6 +15,10 @@ case "$1" in dpkg-statoverride --remove /var/lib/netdata/www fi + if dpkg-statoverride --list | grep -qw /var/lib/netdata/registry; then + dpkg-statoverride --remove /var/lib/netdata/registry + fi + if dpkg-statoverride --list | grep -qw /var/lib/netdata; then dpkg-statoverride --remove /var/lib/netdata fi |