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