Skip to content

Commit

Permalink
fix(Makefile): Ensure printer_data directory exists before installation
Browse files Browse the repository at this point in the history
Fixes edge case where printer_data directory doesn't exists and errors out

Change-Id: I9c49b636691a0a82c1111dbf8c17aad9a62e3351
  • Loading branch information
inferno0230 committed May 26, 2024
1 parent 7934abc commit f0d81d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ all:
$(MAKE) help

install: ## Install Spyglass as service
@mkdir -p $(CONF_PATH)
@printf "\nCopying systemd service file ...\n"
@sudo cp -f "${PWD}/resources/spyglass.service" $(SYSTEMD)
@sudo sed -i "s/%USER%/$(USER)/g" $(SYSTEMD)/spyglass.service
Expand Down

0 comments on commit f0d81d1

Please sign in to comment.