summaryrefslogtreecommitdiffhomepage
path: root/libs/nixio/ipkg
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-03-04 17:41:55 +0000
committerSteven Barth <steven@midlink.org>2009-03-04 17:41:55 +0000
commitf94538dda37509300113956f6d1259625dbd7f36 (patch)
tree0857715f465f83de3a7e622c6d854e9180101a88 /libs/nixio/ipkg
parentb92e6532a0237b7b13e29c6c0c55943fc1cd7d77 (diff)
Fix nixio postinst
Diffstat (limited to 'libs/nixio/ipkg')
-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 0863c22a3..fb1c99a04 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
}