luci-theme-argon: restore the bootstrap theme after uninstall
This commit is contained in:
parent
c950f8c4c1
commit
5d6e6f495d
@ -10,6 +10,15 @@ LUCI_TITLE:=Argon Theme
|
|||||||
PKG_VERSION:=2.3.1
|
PKG_VERSION:=2.3.1
|
||||||
PKG_RELEASE:=20230420
|
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
|
include $(TOPDIR)/feeds/luci/luci.mk
|
||||||
|
|
||||||
# call BuildPackage - OpenWrt buildroot signature
|
# call BuildPackage - OpenWrt buildroot signature
|
||||||
|
Loading…
x
Reference in New Issue
Block a user