Bob Mottram 8 年前
父节点
当前提交
6f1753e3e2
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5
    5
      src/freedombone-controlpanel

+ 5
- 5
src/freedombone-controlpanel 查看文件

@@ -941,10 +941,10 @@ function restore_data_from_storage {
941 941
         n=$[n+1]
942 942
         app_list+=("$ExitStr")
943 943
 
944
-        choices=$(dialog --stdout --backtitle $"Freedombone" \
945
-                         --title $"Restore apps" \
946
-                         --radiolist $'Choose:' \
947
-                         30 40 20 $applist)
944
+        choice=$(dialog --stdout --backtitle $"Freedombone" \
945
+                        --title $"Restore apps" \
946
+                        --radiolist $'Choose:' \
947
+                        30 40 20 $applist)
948 948
 
949 949
         if [ $? -ne 0 ]; then
950 950
             break
@@ -959,7 +959,7 @@ function restore_data_from_storage {
959 959
         fi
960 960
 
961 961
         clear
962
-        echo $"Selected $selected_index $app_name"
962
+        echo $"Selected $app_index $app_name"
963 963
 
964 964
         # Restore all
965 965
         if [[ "$app_name" == "$AllStr" ]]; then