Modification des droits en postinst

This commit is contained in:
wpetit 2019-03-08 15:31:03 +01:00
parent ddd8ea9521
commit ec0dd2f2ed
2 changed files with 8 additions and 5 deletions

7
debian/postinst vendored Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
case "$1" in
configure)
chown grafana:grafana /var/lib/grafana/dashboards
;;
esac

6
debian/rules vendored
View File

@ -5,8 +5,4 @@
# export DH_VERBOSE=1
%:
dh $@
override_dh_fixperms:
dh_fixperms
chown grafana:grafana /var/lib/grafana/dashboards
dh $@