Commit d470abb7 authored by Igor Pecovnik's avatar Igor Pecovnik
Browse files

Bugfix

parent fdcf5417
...@@ -400,12 +400,10 @@ function other_kernel_version () ...@@ -400,12 +400,10 @@ function other_kernel_version ()
CURRENT_VERSION=$(echo $CURRENT_VERSION_TEMP | awk '{print $2}')"="$(echo $CURRENT_VERSION_TEMP | awk '{print $3}') CURRENT_VERSION=$(echo $CURRENT_VERSION_TEMP | awk '{print $2}')"="$(echo $CURRENT_VERSION_TEMP | awk '{print $3}')
# check what is available from the repository # check what is available from the repository
LIST=($(apt-cache show linux-image*${LINUXFAMILY} | grep -E "Package:|version:|Version:" | sed -n -e 's/^.*: //p' | sed 's/\.$//g')) debconf-apt-progress -- apt-get update
LIST=($(apt-cache show linux-image*${LINUXFAMILY} | grep -E "Package:|Version:|version:" | grep -v "Config-Version" | sed -n -e 's/^.*: //p' | sed 's/\.$//g'))
new_list=() new_list=()
#printf '%s\n' "${LIST[@]}"
#read
# create a human readable menu # create a human readable menu
for ((n=0;n<$((${#LIST[@]}));n++)); for ((n=0;n<$((${#LIST[@]}));n++));
do do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment