update-kernel: Don't say 'and update its modules' if there's none
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
This commit is contained in:
parent
e119bb74b7
commit
b856cf79f3
@ -546,7 +546,9 @@ if [ -z "$needwork" ]; then
|
||||
fi
|
||||
|
||||
# ask user
|
||||
echo -n "Try to install new kernel ${BRIGHT}kernel-image-$kernel_flavour-$userkmaxver${NORM} and update its modules [Y/n]? "
|
||||
echo -n "Try to install new kernel ${BRIGHT}kernel-image-$kernel_flavour-$userkmaxver${NORM}"
|
||||
[ -n "$modules_to_show" ] && echo -n " and update its modules"
|
||||
echo -n " [Y/n]? "
|
||||
if [ -n "$force" ]; then
|
||||
echo "yes"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user