Created
May 21, 2013 14:29
-
-
Save r-plus/5620215 to your computer and use it in GitHub Desktop.
THEOS_INSTALL_KILL patch.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/makefiles/master/tweak.mk b/makefiles/master/tweak.mk | |
index 9b0025a..eaf67c0 100644 | |
--- a/makefiles/master/tweak.mk | |
+++ b/makefiles/master/tweak.mk | |
@@ -4,6 +4,10 @@ ifeq ($(_THEOS_RULES_LOADED),) | |
include $(THEOS_MAKE_PATH)/rules.mk | |
endif | |
+ifeq ($(THEOS_INSTALL_KILL),) | |
+ THEOS_INSTALL_KILL:=SpringBoard | |
+endif | |
+ | |
before-all:: | |
@[ -f "$(THEOS_LIBRARY_PATH)/libsubstrate.dylib" ] || bootstrap.sh substrate | |
@@ -12,7 +16,7 @@ internal-all:: $(TWEAK_NAME:=.all.tweak.variables); | |
internal-stage:: $(TWEAK_NAME:=.stage.tweak.variables); | |
internal-after-install:: | |
- install.exec "killall -9 SpringBoard" | |
+ install.exec "killall -9 $(THEOS_INSTALL_KILL)" | |
TWEAKS_WITH_SUBPROJECTS = $(strip $(foreach tweak,$(TWEAK_NAME),$(patsubst %,$(tweak),$(call __schema_var_all,$(tweak)_,SUBPROJECTS)))) | |
ifneq ($(TWEAKS_WITH_SUBPROJECTS),) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment