diff --git a/luci-theme-argon/Makefile b/luci-theme-argon/Makefile index 4ca2ccb..c1f12a4 100644 --- a/luci-theme-argon/Makefile +++ b/luci-theme-argon/Makefile @@ -10,6 +10,15 @@ LUCI_TITLE:=Argon Theme PKG_VERSION:=2.3.1 PKG_RELEASE:=20230420 +define Package/luci-theme-argon/postrm +#!/bin/sh +[ -n "$${IPKG_INSTROOT}" ] || { + uci -q delete luci.themes.Argon + uci set luci.main.mediaurlbase='/luci-static/bootstrap' + uci commit luci +} +endef + include $(TOPDIR)/feeds/luci/luci.mk # call BuildPackage - OpenWrt buildroot signature