Rework LuCI build system
[project/luci.git] / themes / luci-theme-openwrt / ipkg / postinst
diff --git a/themes/luci-theme-openwrt/ipkg/postinst b/themes/luci-theme-openwrt/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
+}