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

Update upgrade

This commit is contained in:
ericgaspar 2021-12-11 15:36:30 +01:00
parent e2b8a21f74
commit 80597aa8ce
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -92,7 +92,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=5
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" --source_id="front"
ynh_setup_source --dest_dir="$final_path" --source_id="front" --keep="/etc/vikunja/config.yml"
fi
chmod 750 "$final_path"
@ -105,8 +105,8 @@ chmod +x /opt/vikunja/vikunja
#=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1
redis_db=$(ynh_redis_get_free_db)
ynh_add_config --template="../conf/config.yml" --destination="/etc/vikunja/config.yml"
# redis_db=$(ynh_redis_get_free_db)
# ynh_add_config --template="../conf/config.yml" --destination="/etc/vikunja/config.yml"
#chmod 600 "/etc/vikunja/config.yml"