alfred: Fix alfred.init 397/head
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sat, 21 Jul 2018 13:57:51 +0000 (15:57 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sat, 21 Jul 2018 14:00:20 +0000 (16:00 +0200)
The commit 45db0e6 introduced curly brackets which are not correct
syntax and thus broke the script.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
alfred/Makefile
alfred/files/alfred.init

index 2daa5f73c408e66c8181aa859f7388ff2bca4478..8d6af3372de0b384d017a77838c9840d85ae3bdf 100644 (file)
@@ -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
index b2926505d32ad3e9e47c07e3d310f1529c9632fb..89e33ab55a0bd301fcd6ae490a5e93b7f92c2bd2 100755 (executable)
@@ -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