]> arthur.barton.de Git - netdata.git/commitdiff
removed user creation and permissions of web files
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Tue, 17 Nov 2015 23:14:47 +0000 (01:14 +0200)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Tue, 17 Nov 2015 23:14:47 +0000 (01:14 +0200)
web/Makefile.am

index 237a92e651e36e7972c10fdc8633804aa761e9ad..ad6850a1e373b44141d89a53a4c306c8c42667cf 100644 (file)
@@ -12,9 +12,3 @@ dist_web_DATA = \
        theme.css \
        $(NULL)
 
-install-data-hook:
-       if [ `id -u` == 0 ]; then \
-               getent group netdata > /dev/null || groupadd -r netdata; \
-               getent passwd netdata > /dev/null || useradd -r -g netdata -c netdata -s /sbin/nologin -d / netdata; \
-               chown -c -R netdata $(DESTDIR)$(cachedir) $(DESTDIR)$(webdir); \
-       fi