mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
firmware: better print for changelog fetch if failed
This commit is contained in:
parent
f0c8e2f9e3
commit
262f466f2b
@ -36,8 +36,11 @@ echo "This will automatically fetch all available updates, apply them,"
|
||||
echo "and reboot if necessary."
|
||||
echo
|
||||
|
||||
# always fetch changelogs, we may want to display them at one point
|
||||
/usr/local/opnsense/scripts/firmware/changelog.sh fetch || true
|
||||
echo -n "Fetching change log information, please wait... "
|
||||
if /usr/local/opnsense/scripts/firmware/changelog.sh fetch; then
|
||||
echo "done"
|
||||
fi
|
||||
echo
|
||||
|
||||
if [ -f ${UPGRADE} ]; then
|
||||
NAME=$(cat ${UPGRADE})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user