1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/terraforming-mars_ynh.git synced 2024-09-03 20:36:05 +02:00

fix upgrade

This commit is contained in:
Thomas 2023-10-29 19:33:18 +01:00 committed by GitHub
parent c36c8f62bf
commit 28fd9acdc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View file

@ -7,7 +7,7 @@ name = "Terraforming Mars "
description.en = "Open-source online implementation of the great board game Terraforming mars." description.en = "Open-source online implementation of the great board game Terraforming mars."
description.fr = "Implementation en ligne à code source ouvert de lexcellent jeu de plateau Terraforming Mars" description.fr = "Implementation en ligne à code source ouvert de lexcellent jeu de plateau Terraforming Mars"
version = "0.01~ynh1" version = "2023-10-29~ynh1"
maintainers = ["Thovi98"] maintainers = ["Thovi98"]

View file

@ -38,7 +38,7 @@ cd $install_dir
ynh_exec_warn_less git clone https://github.com/terraforming-mars/terraforming-mars.git ynh_exec_warn_less git clone https://github.com/terraforming-mars/terraforming-mars.git
cd $install_dir/terraforming-mars cd $install_dir/terraforming-mars
git checkout $TM_version ynh_exec_warn_less git checkout $TM_version
pushd $install_dir/terraforming-mars pushd $install_dir/terraforming-mars
ynh_use_nodejs ynh_use_nodejs

View file

@ -36,10 +36,11 @@ ynh_npm install --global npm@6.14.18
ynh_script_progression --message="Building app... This may take quiete some time" --weight=30 ynh_script_progression --message="Building app... This may take quiete some time" --weight=30
cd $install_dir cd $install_dir
ynh_secure_remove terraforming-mars
ynh_exec_warn_less git clone https://github.com/terraforming-mars/terraforming-mars.git ynh_exec_warn_less git clone https://github.com/terraforming-mars/terraforming-mars.git
cd $install_dir/terraforming-mars cd $install_dir/terraforming-mars
git checkout $TM_version ynh_exec_warn_less git checkout $TM_version
pushd $install_dir/terraforming-mars pushd $install_dir/terraforming-mars
ynh_use_nodejs ynh_use_nodejs