contrib/package: complete rework of dependencies, should cure menuconfig issues
[project/luci.git] / contrib / package / freifunk-firewall / Makefile
index 24be151..eed1d7a 100644 (file)
@@ -7,7 +7,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=freifunk-firewall
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
 
@@ -16,7 +16,7 @@ include $(INCLUDE_DIR)/package.mk
 define Package/freifunk-firewall
   SECTION:=luci
   CATEGORY:=LuCI
-  SUBMENU:=Freifunk
+  SUBMENU:=9. Freifunk
   TITLE:=Freifunk Firewall Addon
   DEPENDS:=+firewall
 endef
@@ -37,7 +37,7 @@ endef
 
 define Package/freifunk-firewall/postinst
 #!/bin/sh
-[ -n "${IPKG_INSTROOT}" ] || {
+[ -n "$${IPKG_INSTROOT}" ] || {
   if ! grep -q /etc/firewall.freifunk /etc/config/firewall; then
     uci add firewall include >/dev/null
     uci set firewall.@include[-1].path=/etc/firewall.freifunk