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