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:
parent
d662efb2cd
commit
5bcce88724
1 changed files with 5 additions and 5 deletions
|
@ -102,7 +102,7 @@ then
|
|||
ynh_secure_remove --file="$final_path/app"
|
||||
ynh_secure_remove --file="$final_path/public/assets"
|
||||
# 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
|
||||
|
||||
chmod 750 "$final_path"
|
||||
|
@ -135,11 +135,11 @@ ynh_add_fpm_config --phpversion=$phpversion --usage=$fpm_usage --footprint=$fpm_
|
|||
#=================================================
|
||||
# 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"
|
||||
chmod 600 $final_path/.env
|
||||
chown $app:www-data "$final_path/.env"
|
||||
# ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env"
|
||||
# chmod 600 $final_path/.env
|
||||
# chown $app:www-data "$final_path/.env"
|
||||
|
||||
#=================================================
|
||||
# SETUP CRON
|
||||
|
|
Loading…
Add table
Reference in a new issue