mirror of
				https://framagit.org/YunoHost-Apps/gitea_ynh.git
				synced 2025-10-30 21:35:36 +01:00 
			
		
		
		
	Restore all scripts from old settings
This commit is contained in:
		| @@ -280,6 +280,7 @@ ynh_handle_app_migration ()  { | |||||||
|  |  | ||||||
|     local settings_dir="/etc/yunohost/apps" |     local settings_dir="/etc/yunohost/apps" | ||||||
|     cp -a "$settings_dir/$old_app" "$settings_dir/$new_app" |     cp -a "$settings_dir/$old_app" "$settings_dir/$new_app" | ||||||
|  |     cp -a ../{scripts,conf} "$settings_dir/$new_app" | ||||||
|  |  | ||||||
|     # Replace the old id by the new one |     # Replace the old id by the new one | ||||||
|     ynh_replace_string "\(^id: .*\)$old_app" "\1$new_app" "$settings_dir/$new_app/settings.yml" |     ynh_replace_string "\(^id: .*\)$old_app" "\1$new_app" "$settings_dir/$new_app/settings.yml" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Josué Tille
					Josué Tille