Merge pull request #6191 from TDT-AG/pr/20230109-luci-theme
luci-theme-: add postrm script
This commit is contained in:
commit
41991f8d2a
4 changed files with 34 additions and 0 deletions
|
@ -11,6 +11,16 @@ LUCI_DEPENDS:=
|
||||||
|
|
||||||
PKG_LICENSE:=Apache-2.0
|
PKG_LICENSE:=Apache-2.0
|
||||||
|
|
||||||
|
define Package/luci-theme-bootstrap/postrm
|
||||||
|
#!/bin/sh
|
||||||
|
[ -n "$${IPKG_INSTROOT}" ] || {
|
||||||
|
uci -q delete luci.themes.Bootstrap
|
||||||
|
uci -q delete luci.themes.BootstrapDark
|
||||||
|
uci -q delete luci.themes.BootstrapLight
|
||||||
|
uci commit luci
|
||||||
|
}
|
||||||
|
endef
|
||||||
|
|
||||||
include ../../luci.mk
|
include ../../luci.mk
|
||||||
|
|
||||||
# call BuildPackage - OpenWrt buildroot signature
|
# call BuildPackage - OpenWrt buildroot signature
|
||||||
|
|
|
@ -9,6 +9,14 @@ include $(TOPDIR)/rules.mk
|
||||||
LUCI_TITLE:=Material Theme
|
LUCI_TITLE:=Material Theme
|
||||||
LUCI_DEPENDS:=
|
LUCI_DEPENDS:=
|
||||||
|
|
||||||
|
define Package/luci-theme-material/postrm
|
||||||
|
#!/bin/sh
|
||||||
|
[ -n "$${IPKG_INSTROOT}" ] || {
|
||||||
|
uci -q delete luci.themes.Material
|
||||||
|
uci commit luci
|
||||||
|
}
|
||||||
|
endef
|
||||||
|
|
||||||
include ../../luci.mk
|
include ../../luci.mk
|
||||||
|
|
||||||
# call BuildPackage - OpenWrt buildroot signature
|
# call BuildPackage - OpenWrt buildroot signature
|
||||||
|
|
|
@ -9,6 +9,14 @@ include $(TOPDIR)/rules.mk
|
||||||
LUCI_TITLE:=LuCI modern OpenWrt theme
|
LUCI_TITLE:=LuCI modern OpenWrt theme
|
||||||
LUCI_DEPENDS:=
|
LUCI_DEPENDS:=
|
||||||
|
|
||||||
|
define Package/luci-theme-openwrt-2020/postrm
|
||||||
|
#!/bin/sh
|
||||||
|
[ -n "$${IPKG_INSTROOT}" ] || {
|
||||||
|
uci -q delete luci.themes.OpenWrt2020
|
||||||
|
uci commit luci
|
||||||
|
}
|
||||||
|
endef
|
||||||
|
|
||||||
include ../../luci.mk
|
include ../../luci.mk
|
||||||
|
|
||||||
# call BuildPackage - OpenWrt buildroot signature
|
# call BuildPackage - OpenWrt buildroot signature
|
||||||
|
|
|
@ -9,6 +9,14 @@ include $(TOPDIR)/rules.mk
|
||||||
LUCI_TITLE:=LuCI OpenWrt.org theme
|
LUCI_TITLE:=LuCI OpenWrt.org theme
|
||||||
LUCI_DEPENDS:=
|
LUCI_DEPENDS:=
|
||||||
|
|
||||||
|
define Package/luci-theme-openwrt/postrm
|
||||||
|
#!/bin/sh
|
||||||
|
[ -n "$${IPKG_INSTROOT}" ] || {
|
||||||
|
uci -q delete luci.themes.OpenWrt
|
||||||
|
uci commit luci
|
||||||
|
}
|
||||||
|
endef
|
||||||
|
|
||||||
include ../../luci.mk
|
include ../../luci.mk
|
||||||
|
|
||||||
# call BuildPackage - OpenWrt buildroot signature
|
# call BuildPackage - OpenWrt buildroot signature
|
||||||
|
|
Loading…
Reference in a new issue