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

needed --dest-dir variable

This commit is contained in:
rodinux 2022-09-09 13:17:26 +02:00
parent 6abd376d4d
commit ec286177a9

View file

@ -97,7 +97,7 @@ if ynh_compare_current_package_version --comparison lt --version 1.1.0~ynh1
then then
ynh_script_progression --message="Upgrading to 1.1.0" --weight=5 ynh_script_progression --message="Upgrading to 1.1.0" --weight=5
# Download, check integrity, uncompress and patch the source from 0.9.8.src # Download, check integrity, uncompress and patch the source from 0.9.8.src
ynh_setup_source --keep="config.local.php" --source_id="1.1.0" ynh_setup_source --keep="config.local.php" --dest_dir="$final_path" --source_id="1.1.0"
# Set permissions on app files # Set permissions on app files
ynh_system_user_create --username=$app ynh_system_user_create --username=$app
ynh_add_nginx_config ynh_add_nginx_config
@ -149,7 +149,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=5 ynh_script_progression --message="Upgrading source files..." --weight=5
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --keep="config.local.user.php" ynh_setup_source --keep="config.local.user.php" --dest_dir="$final_path"
fi fi
#================================================= #=================================================