diff --git a/luci-theme-alpha/Makefile b/luci-theme-alpha/Makefile index 44174974..8f01a3ce 100644 --- a/luci-theme-alpha/Makefile +++ b/luci-theme-alpha/Makefile @@ -46,9 +46,13 @@ endef define Package/luci-theme-$(THEME_NAME)/postinst #!/bin/sh -[ -n "$${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/30-luci-theme-$(THEME_NAME) ) && rm -f /etc/uci-defaults/30-luci-theme-$(THEME_NAME) -} +if [ -z "$${IPKG_INSTROOT}" ]; then + if [ -f /etc/uci-defaults/30-luci-theme-$(THEME_NAME) ]; then + . /etc/uci-defaults/30-luci-theme-$(THEME_NAME) + rm -f /etc/uci-defaults/30-luci-theme-$(THEME_NAME) + fi +fi +exit 0 endef $(eval $(call BuildPackage,luci-theme-$(THEME_NAME))) diff --git a/luci-theme-alpha/README.md b/luci-theme-alpha/README.md index e251e3c4..179b6bb3 100644 --- a/luci-theme-alpha/README.md +++ b/luci-theme-alpha/README.md @@ -71,6 +71,9 @@ DBAI (Device Berbasis Arm Indonesia) this theme using bootstrap framework + vanilla css icons made by me + flaticons +### Attention +This theme required luci-theme-alpha-config installed + donate buy me a padang rice or coffee https://saweria.co/derisamedia