* luci/themes: add "OpenWrt Light" theme, a derivate of openwrt.org theme without...
[project/luci.git] / themes / openwrt-light / ipkg / postinst
diff --git a/themes/openwrt-light/ipkg/postinst b/themes/openwrt-light/ipkg/postinst
new file mode 100755 (executable)
index 0000000..48ea522
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+       ( . /etc/uci-defaults/luci-theme-openwrt ) &&   rm -f /etc/uci-defaults/luci-theme-openwrt
+}