|
@@ -953,7 +953,7 @@ function restore_data_from_storage {
|
953
|
953
|
esac
|
954
|
954
|
selected_index=$(cat $data)
|
955
|
955
|
selected_index=$[selected_index-1]
|
956
|
|
- app_name=${app_list[$selected_index]}
|
|
956
|
+ app_name=${app_list[selected_index]}
|
957
|
957
|
|
958
|
958
|
# exit
|
959
|
959
|
if [[ "$app_name" == "$ExitStr" ]]; then
|
|
@@ -961,7 +961,7 @@ function restore_data_from_storage {
|
961
|
961
|
fi
|
962
|
962
|
|
963
|
963
|
clear
|
964
|
|
- echo $"Selected $app_name"
|
|
964
|
+ echo $"Selected $selected_index $app_name"
|
965
|
965
|
|
966
|
966
|
# Restore all
|
967
|
967
|
if [[ "$app_name" == "$AllStr" ]]; then
|