1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/castopod_ynh.git synced 2024-09-03 18:16:14 +02:00

Update upgrade

This commit is contained in:
ericgaspar 2022-02-06 15:59:20 +01:00
parent d662efb2cd
commit 5bcce88724
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -102,7 +102,7 @@ then
ynh_secure_remove --file="$final_path/app" ynh_secure_remove --file="$final_path/app"
ynh_secure_remove --file="$final_path/public/assets" ynh_secure_remove --file="$final_path/public/assets"
# 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 --dest_dir="$final_path" ynh_setup_source --dest_dir="$final_path" --keep="$final_path/.env"
fi fi
chmod 750 "$final_path" chmod 750 "$final_path"
@ -135,11 +135,11 @@ ynh_add_fpm_config --phpversion=$phpversion --usage=$fpm_usage --footprint=$fpm_
#================================================= #=================================================
# CONFIGURE CASTOPOD # CONFIGURE CASTOPOD
#================================================= #=================================================
ynh_script_progression --message="Configuring Castopod..." --weight=1 # ynh_script_progression --message="Configuring Castopod..." --weight=1
ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env" # ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env"
chmod 600 $final_path/.env # chmod 600 $final_path/.env
chown $app:www-data "$final_path/.env" # chown $app:www-data "$final_path/.env"
#================================================= #=================================================
# SETUP CRON # SETUP CRON