summaryrefslogtreecommitdiff
path: root/alfred
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2018-07-21 15:57:51 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2018-07-21 16:00:20 +0200
commit52e254519830c57e921d09f2d4f2c8f660bde30e (patch)
tree43ac6084092474eebaf982a21cbc46dea7bfe828 /alfred
parent4c7b4a349b5ec4a9f3dcfe01f326d58cb1673044 (diff)
alfred: Fix alfred.init
The commit 45db0e6 introduced curly brackets which are not correct syntax and thus broke the script. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'alfred')
-rw-r--r--alfred/Makefile2
-rwxr-xr-xalfred/files/alfred.init2
2 files changed, 2 insertions, 2 deletions
diff --git a/alfred/Makefile b/alfred/Makefile
index 2daa5f7..8d6af33 100644
--- a/alfred/Makefile
+++ b/alfred/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=alfred
PKG_VERSION:=2018.2
-PKG_RELEASE:=0
+PKG_RELEASE:=1
PKG_HASH:=2bbe9c4fc19a6529c40f7c872406fad8070d145ede970806bd2194e07fba8018
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
diff --git a/alfred/files/alfred.init b/alfred/files/alfred.init
index b292650..89e33ab 100755
--- a/alfred/files/alfred.init
+++ b/alfred/files/alfred.init
@@ -98,7 +98,7 @@ start_service() {
config_load "alfred"
config_foreach alfred_start alfred
- [ "$enable" = "0" ] && { exit 0 }
+ [ "$enable" = "0" ] && exit 0
procd_open_instance "alfred"
procd_set_param command /usr/sbin/alfred