Show selection number
This commit is contained in:
parent
a1fcbfe42c
commit
a08cb91c2f
|
@ -953,7 +953,7 @@ function restore_data_from_storage {
|
|||
esac
|
||||
selected_index=$(cat $data)
|
||||
selected_index=$[selected_index-1]
|
||||
app_name=${app_list[$selected_index]}
|
||||
app_name=${app_list[selected_index]}
|
||||
|
||||
# exit
|
||||
if [[ "$app_name" == "$ExitStr" ]]; then
|
||||
|
@ -961,7 +961,7 @@ function restore_data_from_storage {
|
|||
fi
|
||||
|
||||
clear
|
||||
echo $"Selected $app_name"
|
||||
echo $"Selected $selected_index $app_name"
|
||||
|
||||
# Restore all
|
||||
if [[ "$app_name" == "$AllStr" ]]; then
|
||||
|
|
Loading…
Reference in New Issue