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:
parent
e2b8a21f74
commit
80597aa8ce
1 changed files with 3 additions and 3 deletions
|
@ -92,7 +92,7 @@ then
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=5
|
ynh_script_progression --message="Upgrading source files..." --weight=5
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# 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
|
fi
|
||||||
|
|
||||||
chmod 750 "$final_path"
|
chmod 750 "$final_path"
|
||||||
|
@ -105,8 +105,8 @@ chmod +x /opt/vikunja/vikunja
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||||
|
|
||||||
redis_db=$(ynh_redis_get_free_db)
|
# redis_db=$(ynh_redis_get_free_db)
|
||||||
ynh_add_config --template="../conf/config.yml" --destination="/etc/vikunja/config.yml"
|
# ynh_add_config --template="../conf/config.yml" --destination="/etc/vikunja/config.yml"
|
||||||
|
|
||||||
#chmod 600 "/etc/vikunja/config.yml"
|
#chmod 600 "/etc/vikunja/config.yml"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue