1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/syncthing_ynh.git synced 2024-09-03 20:26:23 +02:00

Update upgrade

This commit is contained in:
yalh76 2019-04-14 21:58:14 +02:00
parent c6827ccf6c
commit 02243a6a8b

View file

@ -69,7 +69,16 @@ ynh_system_user_create --username=$app --home_dir=$final_path
#=================================================
# SPECIFIC UPGRADE
#=================================================
# ...
# CREATE SYNC DIRECTORY
#=================================================
ynh_print_info "Creating sync directory..."
# Make directories and set rights
mkdir -p "$sync_home"
chown -R "$app": "$sync_home"
#=================================================
# STORE THE CONFIG FILE CHECKSUM
#=================================================
config_file="$final_path/.config/syncthing/config.xml"