~case/dbns

a01137beb873e96e0d8973363e5d092040aaf07b — case 4 years ago 8d4e48f
fix make
1 files changed, 5 insertions(+), 3 deletions(-)

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

data:
	@\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
	@\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 chown -R dbns {DATA_PREFIX}
	@\sudo chgrp -R dbns {DATA_PREFIX}

restart:
	sudo systemctl restart dbns