Permalink
Browse files

Make sure folder is there before disabling startup

  • Loading branch information...
giuliomoro committed Dec 19, 2017
1 parent 10aae1f commit 0b973b354cd41ce04d5d2beac9ba38dd109d8227
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile
View
@@ -193,7 +193,7 @@ SCREEN_NAME?=Bela
# These are parsed by the IDE to understand if a program is active at startup
BELA_STARTUP_ENV?=/opt/Bela/startup_env
BELA_POST_ENABLE_STARTUP_COMMAND=mkdir -p /opt/Bela && printf "ACTIVE=1\nPROJECT=$(PROJECT)\nARGS=$(COMMAND_LINE_OPTIONS)" > $(BELA_STARTUP_ENV)
BELA_PRE_DISABLE_STARTUP_COMMAND=printf "ACTIVE=0\n" > $(BELA_STARTUP_ENV)
BELA_PRE_DISABLE_STARTUP_COMMAND=mkdir -p /opt/Bela && printf "ACTIVE=0\n" > $(BELA_STARTUP_ENV)
ifeq ($(DEBIAN_VERSION), stretch)
BELA_ENABLE_STARTUP_COMMAND=systemctl enable bela_startup && $(BELA_POST_ENABLE_STARTUP_COMMAND)

0 comments on commit 0b973b3

Please sign in to comment.