From ec0dd2f2ed2121efdcfd96db7e1da016774502fd Mon Sep 17 00:00:00 2001 From: William Petit Date: Fri, 8 Mar 2019 15:31:03 +0100 Subject: [PATCH] Modification des droits en postinst --- debian/postinst | 7 +++++++ debian/rules | 6 +----- 2 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 debian/postinst diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..6ef0d1a --- /dev/null +++ b/debian/postinst @@ -0,0 +1,7 @@ +#!/bin/bash + +case "$1" in + configure) + chown grafana:grafana /var/lib/grafana/dashboards + ;; +esac \ No newline at end of file diff --git a/debian/rules b/debian/rules index 2fb687c..eb0ab15 100755 --- a/debian/rules +++ b/debian/rules @@ -5,8 +5,4 @@ # export DH_VERBOSE=1 %: - dh $@ - -override_dh_fixperms: - dh_fixperms - chown grafana:grafana /var/lib/grafana/dashboards + dh $@ \ No newline at end of file