Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
28fadf1d
Unverified
Commit
28fadf1d
authored
Oct 05, 2020
by
Igor Pečovnik
Committed by
GitHub
Oct 05, 2020
Browse files
Make upgrade more bullet proof
parent
63118329
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian-config-jobs
View file @
28fadf1d
...
...
@@ -961,6 +961,7 @@ function jobs ()
dialog
--title
" Update "
--backtitle
"
$BACKTITLE
"
--no-label
"No"
--yesno
"
\n
Do you want to update board firmware?"
7 41
fi
if
[[
$?
-eq
0
]]
;
then
debconf-apt-progress
--
apt
--fix-broken
-y
install
debconf-apt-progress
--
apt-get update
debconf-apt-progress
--
apt-get
-o
Dpkg::Options::
=
"--force-confdef"
-o
Dpkg::Options::
=
"--force-confold"
-y
upgrade
[[
-z
$scripted
]]
&&
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment