1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lutim_ynh.git synced 2024-09-03 19:36:24 +02:00

Remove -- deployment that make upgrade to fail

This commit is contained in:
ericgaspar 2021-01-03 13:13:28 +01:00
parent 98e75b940a
commit 948fa5df97
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -266,9 +266,10 @@ ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_fil
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Upgrading $app with Carton..." --weight=4
(cd $final_path
ynh_secure_remove --file="$final_path/local"
carton install --deployment --without=mysql --without=htpasswd --without=test)
pushd "$final_path"
ynh_secure_remove --file="$final_path/local"
carton install --without=mysql --without=htpasswd --without=test
popd
fi
#=================================================