1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/paheko_ynh.git synced 2024-09-03 19:56:22 +02:00

Update scripts/upgrade

approve

Co-authored-by: Florent <florent.git@zeteo.me>
This commit is contained in:
Robles Rodolphe 2023-01-15 16:11:47 +01:00 committed by GitHub
parent cff44b8b06
commit 0542d87c5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,7 +71,7 @@ fi
#================================================= #=================================================
[[ $YNH_APP_ID == "garradin" ]] \ [[ $YNH_APP_ID == "garradin" ]] \
&& [[ "$(cat "/$final_path/VERSION")" != 1.2.2 ]] \ && [[ "$(cat "$final_path/VERSION")" != 1.2.2 ]] \
&& ynh_die --message "It look like that you have an old Garradin install. You need first upgrade Garradin instance (id: $garradin_migrate_id) and after migrate to Paheko." && ynh_die --message "It look like that you have an old Garradin install. You need first upgrade Garradin instance (id: $garradin_migrate_id) and after migrate to Paheko."
ynh_handle_app_migration --migration_id=garradin --migration_list=garradin_migrations ynh_handle_app_migration --migration_id=garradin --migration_list=garradin_migrations