瀏覽代碼

Update scripts/install

Alexandre Aubin 4 年之前
父節點
當前提交
648d705f8f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/install

+ 1 - 1
scripts/install

@@ -127,7 +127,7 @@ then
     while read backup_app
     do
         ynh_replace_string --match_string="^ynh_app_backup=$" --replace_string="ynh_app_backup=$backup_app\n&" --target_file="$config_file"
-    done <<< "$(yunohost app list | grep -q 'id: $app' | sed 's/.*id: //')"
+    done <<< "$(yunohost app list | grep 'id:' | sed 's/.*id: //')"
 fi
 
 # Calculate and store the config file checksum into the app settings