1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garradin_ynh.git synced 2024-09-03 18:36:17 +02:00

error syntax source app 1.1.0 in pre-upgrade script

This commit is contained in:
Robles Rodolphe 2021-11-01 11:26:02 +01:00
parent 5408be753c
commit e6473d4c7c

View file

@ -131,14 +131,14 @@ then
fi
fi
#=================================================
# UPGRADE TO 1.1.1 if necessary
# UPGRADE TO 1.1.0 if necessary
#=================================================
if [ "$upgrade_type" == "1.1.0" ]
then
ynh_script_progression --message="Upgrading upgrade to 1.1.0" --weight=5
# Download, check integrity, uncompress and patch the source from 0.9.8.src
ynh_setup_source --keep="config.local.php" --dest_dir="$final_path" --source_id="1.1.1"
ynh_setup_source --keep="config.local.php" --dest_dir="$final_path" --source_id="1.1.0"
# Set permissions on app files
ynh_system_user_create --username=$app
ynh_add_nginx_config