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

Update upgrade

This commit is contained in:
ericgaspar 2022-04-15 09:09:24 +02:00
parent 4b348019be
commit 9dab60b2c5
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -90,7 +90,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/commento.env"
ynh_setup_source --dest_dir="$final_path" #--keep="$final_path/commento.env"
fi
chmod 750 "$final_path"
@ -112,15 +112,15 @@ ynh_script_progression --message="Upgrading dependencies..." --weight=1
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
# #=================================================
# # UPDATE A CONFIG FILE
# #=================================================
# ynh_script_progression --message="Updating a configuration file..." --weight=1
#=================================================
# UPDATE A CONFIG FILE
#=================================================
ynh_script_progression --message="Updating a configuration file..." --weight=1
# ynh_add_config --template="../conf/.env" --destination="$final_path/commento.env"
ynh_add_config --template="../conf/.env" --destination="$final_path/commento.env"
# chmod 400 "$final_path/commento.env"
# chown $app:$app "$final_path/commento.env"
chmod 400 "$final_path/commento.env"
chown $app:$app "$final_path/commento.env"
#=================================================
# SETUP SYSTEMD