mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 19:50:36 +00:00
avoid sudo in makefile #4818
This commit is contained in:
parent
7826a33b87
commit
b231856c1c
2
Makefile
2
Makefile
@ -73,7 +73,7 @@ xdg_data_home_subdirs = $(xdg_data_home)/erigon $(xdg_data_home)/erigon-grafana
|
|||||||
## setup_xdg_data_home: TODO
|
## setup_xdg_data_home: TODO
|
||||||
setup_xdg_data_home:
|
setup_xdg_data_home:
|
||||||
mkdir -p $(xdg_data_home_subdirs)
|
mkdir -p $(xdg_data_home_subdirs)
|
||||||
ls -aln $(xdg_data_home) | grep -E "472.*0.*erigon-grafana" || sudo chown -R 472:0 $(xdg_data_home)/erigon-grafana
|
ls -aln $(xdg_data_home) | grep -E "472.*0.*erigon-grafana" || chown -R 472:0 $(xdg_data_home)/erigon-grafana
|
||||||
@echo "✔️ xdg_data_home setup"
|
@echo "✔️ xdg_data_home setup"
|
||||||
@ls -al $(xdg_data_home)
|
@ls -al $(xdg_data_home)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user