mirror of
https://github.com/YunoHost-Apps/proxitok_ynh.git
synced 2024-09-03 20:15:53 +02:00
Update upgrade
This commit is contained in:
parent
44d59be664
commit
48f52d02ff
1 changed files with 11 additions and 1 deletions
|
@ -57,7 +57,7 @@ then
|
|||
ynh_script_progression --message="Upgrading source files..." --weight=1
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$final_path" --keep="$final_path/.env"
|
||||
ynh_setup_source --dest_dir="$final_path" #--keep="$final_path/.env"
|
||||
fi
|
||||
|
||||
chmod 750 "$final_path"
|
||||
|
@ -87,6 +87,16 @@ ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=1
|
|||
# Create a dedicated PHP-FPM config
|
||||
ynh_add_fpm_config
|
||||
|
||||
#=================================================
|
||||
# ADD A CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||
|
||||
ynh_add_config --template="../conf/.env" --destination="$final_path/.env"
|
||||
|
||||
chmod 400 "$final_path/.env"
|
||||
chown $app:$app "$final_path/.env"
|
||||
|
||||
#=================================================
|
||||
# INSTALL PROXITOK WITH COMPOSER
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue