~case/dbns

dcc290eb7e3371e1f33df135e70213d284e4b2d9 — case 4 years ago 68e1769
make sure data copies are done under dbns user
1 files changed, 3 insertions(+), 3 deletions(-)

M src/Makefile
M src/Makefile => src/Makefile +3 -3
@@ 49,9 49,9 @@ init:
	sudo systemctl enable ../init/dbns.service

data:
	@\cp ${DATA_PREFIX}/system/hiscores.dat /tmp/hiscores.dat
	@\cp -R ${DATA_FOLDERS} ${DATA_PREFIX}
	@\cp /tmp/hiscores.dat ${DATA_PREFIX}/system/hiscores.dat
	@\sudo -u dbns cp ${DATA_PREFIX}/system/hiscores.dat /tmp/hiscores.dat
	@\sudo -u dbns cp -R ${DATA_FOLDERS} ${DATA_PREFIX}
	@\sudo -u dbns cp /tmp/hiscores.dat ${DATA_PREFIX}/system/hiscores.dat

.c.o: mud.h
	${CC} -c ${C_FLAGS} $<