From: Steven Barth Date: Wed, 4 Mar 2009 17:41:55 +0000 (+0000) Subject: Fix nixio postinst X-Git-Tag: 0.9.0~636 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=f94538dda37509300113956f6d1259625dbd7f36 Fix nixio postinst --- 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 }