postrm 334 B

1234567891011121314151617
  1. #!/bin/sh
  2. set -e
  3. case "$1" in
  4. remove) ;;
  5. purge)
  6. if dpkg-statoverride --list | grep -qw /var/lib/netdata/www; then
  7. dpkg-statoverride --remove /var/lib/netdata/www
  8. fi
  9. if dpkg-statoverride --list | grep -qw /usr/share/netdata/www; then
  10. dpkg-statoverride --remove /usr/share/netdata/www
  11. fi
  12. ;;
  13. esac