firmware: cross-version check not using correct information

This commit is contained in:
Franco Fichtner 2022-04-11 12:13:29 +02:00
parent b391195f25
commit 2d84691768

View File

@ -145,7 +145,7 @@ core)
target_abi_major=${product_abi%%.*}
target_abi_minor=${product_abi#*.}
IS_BUSINESS=$(echo ${product_name} | grep -c -- '-business')
IS_BUSINESS=$(echo ${product_id} | grep -c -- '-business')
WANT_BUSINESS=$(${PLUGINCTL} -g system.firmware.mirror | \
grep -c 'opnsense-update\.deciso\.com')