فهرست منبع

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
     while read backup_app
     do
     do
         ynh_replace_string --match_string="^ynh_app_backup=$" --replace_string="ynh_app_backup=$backup_app\n&" --target_file="$config_file"
         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
 fi
 
 
 # Calculate and store the config file checksum into the app settings
 # Calculate and store the config file checksum into the app settings