From: Felix Fietkau Date: Sat, 24 Mar 2007 13:42:55 +0000 (+0000) Subject: fix uci commit X-Git-Tag: reboot~29651 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c76cdd578157cdf9a218c88614dd8c3beb2df576;p=openwrt%2Fstaging%2Fxback.git fix uci commit SVN-Revision: 6665 --- diff --git a/package/base-files/files/bin/uci b/package/base-files/files/bin/uci index 4df8f33ff4..90098f014f 100755 --- a/package/base-files/files/bin/uci +++ b/package/base-files/files/bin/uci @@ -86,7 +86,7 @@ do_remove() { do_commit() { local PACKAGE="$1" for package in ${PACKAGE:-$(cd /tmp/.uci; ls)}; do - [ "${package##.*}" != "$package" ] && continue # ignore .lock files + [ lock = "${package##*.}" ] && continue # ignore .lock files uci_commit "$package" done }