From 9f8e74337832533a806ac0c46ee993a927f0c057 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Mon, 25 Jan 2021 19:34:30 -0500 Subject: error log, fix memory leak, moved globals to Ted --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index babddc3..41bd8a5 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,7 @@ install: release @[ -w `dirname $(INSTALL_BIN_DIR)` ] || { echo "You need permission to write to $(INSTALL_BIN_DIR). Try running with sudo/as root." && exit 1; } mkdir -p $(GLOBAL_DATA_DIR) $(LOCAL_DATA_DIR) + chown `logname`:`logname` $(LOCAL_DATA_DIR) cp -r assets $(GLOBAL_DATA_DIR) install -m 644 ted.cfg $(GLOBAL_DATA_DIR) [ ! -e $(LOCAL_DATA_DIR)/ted.cfg ] && install -o `logname` -g `logname` -m 644 ted.cfg $(LOCAL_DATA_DIR) || : -- cgit v1.2.3