Commit 7398977d authored by Franco Fichtner's avatar Franco Fichtner

firmware: %v has revision appendend, meh

parent c9d6c020
......@@ -128,8 +128,11 @@ if [ "$pkg_running" == "" ]; then
REMOTE=os-update
fi
LQUERY=$(pkg query %v ${LOCAL})
RQUERY=$(pkg rquery %v ${REMOTE})
# only version change requires reboot
if [ "$(pkg query %v ${LOCAL})" != "$(pkg rquery %v ${REMOTE})" ]; then
if [ "${LQUERY%%_*}" != "${RQUERY%%_*}" ]; then
upgrade_needs_reboot="1"
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment