diff options
author | xengineering <mail2xengineering@protonmail.com> | 2021-01-30 15:53:15 +0100 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2021-01-30 15:53:15 +0100 |
commit | 883e4bb795ed3f8501c74dd57bc8b0f6ea33f416 (patch) | |
tree | 4ec9afc099dd11f584f33b7cce6c76dffa0f8950 /Makefile | |
parent | 58daf50667396477021e4a4f57d8241e44ff268c (diff) | |
download | xbot-883e4bb795ed3f8501c74dd57bc8b0f6ea33f416.tar xbot-883e4bb795ed3f8501c74dd57bc8b0f6ea33f416.tar.zst xbot-883e4bb795ed3f8501c74dd57bc8b0f6ea33f416.zip |
Fix empty Profile Bug
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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: |