summaryrefslogtreecommitdiffhomepage
path: root/themes/openwrt-light/ipkg/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'themes/openwrt-light/ipkg/postinst')
-rwxr-xr-xthemes/openwrt-light/ipkg/postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/openwrt-light/ipkg/postinst b/themes/openwrt-light/ipkg/postinst
new file mode 100755
index 0000000000..48ea52273f
--- /dev/null
+++ b/themes/openwrt-light/ipkg/postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+ ( . /etc/uci-defaults/luci-theme-openwrt ) && rm -f /etc/uci-defaults/luci-theme-openwrt
+}