From 883e4bb795ed3f8501c74dd57bc8b0f6ea33f416 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 30 Jan 2021 15:53:15 +0100 Subject: Fix empty Profile Bug --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index cd8b97d..ff0e394 100644 --- a/Makefile +++ b/Makefile @@ -21,10 +21,13 @@ build/%.o: src/%.c $(CC) -c $< -o $@ install: all - $(INSTALL_PROGRAM) $(TARGET_EXEC) $(bindir)/xbot + mkdir -p $(HOME)/.config/xbot/ + touch $(HOME)/.config/xbot/profile.ini + chmod 600 $(HOME)/.config/xbot/profile.ini + sudo $(INSTALL_PROGRAM) $(TARGET_EXEC) $(bindir)/xbot uninstall: - rm -f $(bindir)/xbot + sudo rm -f $(bindir)/xbot .PHONY: clean uninstall clean: -- cgit v1.2.3-70-g09d2