0
0
mirror of https://github.com/netdata/netdata.git synced 2024-11-24 08:26:54 +00:00
netdata_netdata/packaging/cmake/pkg-files/deb/dashboard/postinst
Austin S. Hemmelgarn acf5adced8
Un-vendor proprietary dashboard code. (#18437)
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2024-10-22 10:52:17 +03:00

12 lines
236 B
Bash
Executable File

#!/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