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
1962408d
Commit
1962408d
authored
May 02, 2018
by
Igor Pecovnik
Browse files
kernel switching bugfix
parent
34c0e93a
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian-config-functions
View file @
1962408d
...
@@ -229,7 +229,7 @@ function aval_kernel ()
...
@@ -229,7 +229,7 @@ function aval_kernel ()
LIST+
=(
"
${
i
[0]//[[
:blank:]]/
}
"
""
)
LIST+
=(
"
${
i
[0]//[[
:blank:]]/
}
"
""
)
done
done
LIST_LENGHT
=
$((${#
LIST
[@]
}
/
2
))
;
LIST_LENGHT
=
$((${#
LIST
[@]
}
/
2
))
;
if
[
"
$LIST_LENGHT
"
-eq
1
]
;
then
if
[
"
$LIST_LENGHT
"
-eq
0
]
;
then
TARGET_BRANCH
=
${
AVAL_KERNEL
[0]
}
TARGET_BRANCH
=
${
AVAL_KERNEL
[0]
}
dialog
--backtitle
"
$BACKTITLE
"
--title
" Info "
--msgbox
"
\n
No alternative kernels available!"
7 38
dialog
--backtitle
"
$BACKTITLE
"
--title
" Info "
--msgbox
"
\n
No alternative kernels available!"
7 38
else
else
...
...
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