Update scripts/upgrade

This commit is contained in:
denis 2024-10-28 16:39:33 -04:00
parent 473fed62ad
commit 48b5bf545d

View file

@ -19,16 +19,6 @@ ynh_setup_source --dest_dir="$install_dir" --full_replace --keep=".env"
chown -R "$app:www-data" "$install_dir" chown -R "$app:www-data" "$install_dir"
#=================================================
# UPDATE A CONFIG FILE
#=================================================
ynh_script_progression "Updating $app's configuration files..."
ynh_config_add --template=".env" --destination="$install_dir/.env"
chmod 400 "$install_dir/.env"
chown "$app:$app" "$install_dir/.env"
#================================================= #=================================================
# REAPPLY SYSTEM CONFIGURATIONS # REAPPLY SYSTEM CONFIGURATIONS
#================================================= #=================================================