From 4c0a53b502ed535bd934dafb058870d288b42e80 Mon Sep 17 00:00:00 2001 From: Ryukura Date: Sat, 4 Jan 2025 00:34:29 +0700 Subject: [PATCH] Change alpha to $(THEME_NAME) --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 7d6fbac..8f01a3c 100644 --- a/Makefile +++ b/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