X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/f9d657cb5c648b235d8442e44bcebf3150986828..651212067733fbe278ea227f84b5180fd0deded9:/root/bin/ipkg?ds=sidebyside diff --git a/root/bin/ipkg b/root/bin/ipkg index c802ce1b3..bf275d842 100755 --- a/root/bin/ipkg +++ b/root/bin/ipkg @@ -26,7 +26,7 @@ ipkg_is_upgrade () { while [ \! -z "$A" ] && [ \! -z "$B" ]; do { set $A; a=$1; shift; A=$* set $B; b=$1; shift; B=$* - { [ "$a" -gt "$b" ] 2>- || [ "$a" ">" "$b" ]; } && { return 0; } + { [ "$a" -gt "$b" ] 2>&- || [ "$a" ">" "$b" ]; } && { return 0; } }; done return 1; }