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:
parent
c36c8f62bf
commit
28fd9acdc7
3 changed files with 4 additions and 3 deletions
|
@ -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 l’excellent jeu de plateau Terraforming Mars"
|
description.fr = "Implementation en ligne à code source ouvert de l’excellent jeu de plateau Terraforming Mars"
|
||||||
|
|
||||||
version = "0.01~ynh1"
|
version = "2023-10-29~ynh1"
|
||||||
|
|
||||||
maintainers = ["Thovi98"]
|
maintainers = ["Thovi98"]
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue