postinst 236 B

1234567891011
  1. #!/bin/sh
  2. set -e
  3. case "$1" in
  4. configure|reconfigure)
  5. if ! dpkg-statoverride --list /usr/share/netdata/www > /dev/null 2>&1; then
  6. dpkg-statoverride --update --add root netdata 0755 /usr/share/netdata/www
  7. fi
  8. ;;
  9. esac