1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grammalecte_ynh.git synced 2024-09-03 20:36:23 +02:00
This commit is contained in:
Salamandar 2024-02-05 14:45:27 +01:00
parent 500ce4a27f
commit 3fc8dd78bc

View file

@ -18,10 +18,6 @@ ynh_script_progression --message="Stopping a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log"
# Set permissions to app files
chmod +x "$install_dir/grammalecte-server.py"
chown -R "$app:www-data" "$install_dir"
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
@ -30,6 +26,10 @@ 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="$install_dir" --full_replace=1
# Set permissions to app files
chmod +x "$install_dir/grammalecte-server.py"
chown -R "$app:www-data" "$install_dir"
#=================================================
# REAPPLY SYSTEM CONFIGURATIONS
#=================================================