diff options
Diffstat (limited to 'packaging/cmake/pkg-files/deb/dashboard/postinst')
-rwxr-xr-x | packaging/cmake/pkg-files/deb/dashboard/postinst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packaging/cmake/pkg-files/deb/dashboard/postinst b/packaging/cmake/pkg-files/deb/dashboard/postinst new file mode 100755 index 000000000..320a649d9 --- /dev/null +++ b/packaging/cmake/pkg-files/deb/dashboard/postinst @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +case "$1" in + configure|reconfigure) + if ! dpkg-statoverride --list /usr/share/netdata/www > /dev/null 2>&1; then + dpkg-statoverride --update --add root netdata 0755 /usr/share/netdata/www + fi + ;; +esac |