mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-18 10:35:27 +00:00
firmware: fix execution when not possible
PR: https://forum.opnsense.org/index.php?topic=33593.0
This commit is contained in:
parent
5280cb346b
commit
780bb10f2c
@ -53,9 +53,10 @@ RQUERY=$(${PKG} rquery %v ${COREPKG} 2> /dev/null)
|
||||
# core package is available. We want to use it to display additional
|
||||
# information in the shell menu including the matching changelog.
|
||||
|
||||
if [ -n "${LQUERY}" -a -n "${RQUERY}" -a \
|
||||
"$(${PKG} version -t ${LQUERY} ${RQUERY})" = "<" ]; then
|
||||
echo ${RQUERY%%_*}
|
||||
if [ -n "${LQUERY}" -a -n "${RQUERY}" ]; then
|
||||
if [ "$(${PKG} version -t ${LQUERY} ${RQUERY})" = "<" ]; then
|
||||
echo ${RQUERY%%_*}
|
||||
fi
|
||||
fi
|
||||
|
||||
# success is reboot:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user