summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-openwrt/ipkg/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'themes/luci-theme-openwrt/ipkg/postinst')
-rwxr-xr-xthemes/luci-theme-openwrt/ipkg/postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/luci-theme-openwrt/ipkg/postinst b/themes/luci-theme-openwrt/ipkg/postinst
new file mode 100755
index 000000000..48ea52273
--- /dev/null
+++ b/themes/luci-theme-openwrt/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
+}