grafana: fix absolute paths in INSTALL/REMOVE scripts

This commit is contained in:
maxice8 2018-08-26 16:14:09 -03:00
parent 94677f9a5b
commit 60c4dd5349
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ case "$ACTION" in
if [ "$UPDATE" = "yes" ] ; then if [ "$UPDATE" = "yes" ] ; then
: :
else else
chown _grafana:_grafana /var/lib/grafana chown _grafana:_grafana var/lib/grafana
fi fi
;; ;;
esac esac

View file

@ -1,7 +1,7 @@
# Template file for 'grafana' # Template file for 'grafana'
pkgname=grafana pkgname=grafana
version=5.2.3 version=5.2.3
revision=2 revision=3
build_style=go build_style=go
go_import_path=github.com/grafana/grafana go_import_path=github.com/grafana/grafana
go_package="${go_import_path}/pkg/cmd/grafana-cli ${go_import_path}/pkg/cmd/grafana-server" go_package="${go_import_path}/pkg/cmd/grafana-cli ${go_import_path}/pkg/cmd/grafana-server"