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
81d7b529
Commit
81d7b529
authored
Oct 05, 2017
by
Igor Pecovnik
Browse files
Bugfix
parent
f8268201
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian-config-jobs
View file @
81d7b529
...
...
@@ -528,7 +528,7 @@ function jobs ()
#
"Freeze"
|
"Defreeze"
)
dialog
--title
" Updating "
--backtitle
"
$BACKTITLE
"
--yes-label
"
$1
"
--no-label
"Back"
--yesno
\
"
\n
Do you want to
${
1
,,
}
kernel updates?"
7 4
2
"
\n
Do you want to
${
1
,,
}
kernel updates?"
7 4
4
if
[[
$?
=
0
]]
;
then
TARGET_BRANCH
=
$BRANCH
exceptions
"
$BRANCH
"
...
...
@@ -537,7 +537,9 @@ function jobs ()
[[
$BRANCH
!=
"default"
]]
&&
PACKAGE_LIST
=
$PACKAGE_LIST
" linux-dtb
$TARGET_BRANCH
-
$TARGET_FAMILY
"
local
words
=(
$PACKAGE_LIST
)
for
word
in
$PACKAGE_LIST
;
do
apt-mark
${
1
,,
}
$word
;
done
| dialog
--backtitle
"
$BACKTITLE
"
--title
"Packages
${
1
,,
}
"
--progressbox
$((${#
words
[@]
}
+
2
))
64
local command
=
"unhold"
[[
$1
==
"Freeze"
]]
&&
local command
=
"hold"
for
word
in
$PACKAGE_LIST
;
do
apt-mark
$command
$word
;
done
| dialog
--backtitle
"
$BACKTITLE
"
--title
"Packages
${
1
,,
}
"
--progressbox
$((${#
words
[@]
}
+
2
))
64
fi
;;
...
...
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