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