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

Update install

This commit is contained in:
ericgaspar 2022-02-20 09:41:27 +01:00
parent 5db94d1c5d
commit aafed2a742

View file

@ -98,7 +98,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
# 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/vikunja" --source_id="$architecture"
#ynh_setup_source --dest_dir="$final_path/vikunja" --source_id="$architecture"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
@ -133,6 +133,7 @@ ynh_script_progression --message="Adding a configuration file..." --weight=1
mkdir -p "/etc/vikunja"
redis_db=$(ynh_redis_get_free_db)
ynh_add_config --template="../conf/config.yml" --destination="/etc/vikunja/config.yml"
chmod 400 "/etc/vikunja/config.yml"
chown $app:$app "/etc/vikunja/config.yml"