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-09 11:11:39 +01:00
parent 4300a70b62
commit a7cdc79cb0
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -100,8 +100,6 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
ynh_setup_source --dest_dir="$final_path" --source_id="front" 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"
mkdir -p "$final_path/files"
chmod 750 "$final_path" chmod 750 "$final_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path" chown -R $app:www-data "$final_path"
@ -112,8 +110,8 @@ chown -R $app:www-data "$final_path"
ynh_script_progression --message="Setting up source files..." --weight=1 ynh_script_progression --message="Setting up source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
mkdir -p "$/opt/vikunja" mkdir -p "/opt/vikunja"
mkdir -p "$/opt/vikunja/files" mkdir -p "/opt/vikunja/files"
ynh_setup_source --dest_dir="/opt/vikunja" --source_id="$architecture" ynh_setup_source --dest_dir="/opt/vikunja" --source_id="$architecture"
chmod +x "/opt/vikunja/vikunja" chmod +x "/opt/vikunja/vikunja"