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