mirror of
https://github.com/derisamedia/luci-theme-alpha.git
synced 2025-04-04 07:31:27 +08:00
Change alpha to $(THEME_NAME)
This commit is contained in:
parent
dca9cdfc94
commit
4c0a53b502
6
Makefile
6
Makefile
@ -47,9 +47,9 @@ endef
|
||||
define Package/luci-theme-$(THEME_NAME)/postinst
|
||||
#!/bin/sh
|
||||
if [ -z "$${IPKG_INSTROOT}" ]; then
|
||||
if [ -f /etc/uci-defaults/30-luci-theme-alpha ]; then
|
||||
. /etc/uci-defaults/30-luci-theme-alpha
|
||||
rm -f /etc/uci-defaults/30-luci-theme-alpha
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user