luci/themes/luci-theme-bootstrap/Makefile
Florian Eckert 21b40652d9 luci-theme-: add postrm script
Remove uci theme config section on uninstall.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-01-09 13:07:42 +01:00

26 regels
559 B
Makefile

#
# Copyright (C) 2008-2014 The LuCI Team <luci@lists.subsignal.org>
#
# This is free software, licensed under the Apache License, Version 2.0 .
#
include $(TOPDIR)/rules.mk
LUCI_TITLE:=Bootstrap Theme (default)
LUCI_DEPENDS:=
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
# call BuildPackage - OpenWrt buildroot signature