mirror of
https://github.com/YunoHost-Apps/grammalecte_ynh.git
synced 2024-09-03 20:36:23 +02:00
woops
This commit is contained in:
parent
500ce4a27f
commit
3fc8dd78bc
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue