diff --git a/src/usr/sbin/sbopkg b/src/usr/sbin/sbopkg index ffe5e9f..f025f9a 100755 --- a/src/usr/sbin/sbopkg +++ b/src/usr/sbin/sbopkg @@ -2133,7 +2133,7 @@ add_item_to_queue() { # false match when running 'sbopkg -k -i queue' because 'foo' and # 'libfoo' matched INSTALLED=$(ls -1 /var/lib/pkgtools/packages/ | - grep "^$APP-[^-]*-[^-]*-[^-]*$REPO_TAG$") + grep "^$APP-[^-]*-[^-]*-[^-]*$") if [[ -n $INSTALLED ]]; then VERSION=$(sed 's:^.*-\([^-]*\)-[^-]*-[^-]*$:\1:'<<<$INSTALLED) if [[ -e $UPDATELIST ]]; then