1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/joplin_ynh.git synced 2024-09-03 19:36:03 +02:00

Update install

This commit is contained in:
Éric Gaspar 2023-12-09 17:30:44 +01:00
parent b3f6c4846b
commit 4e90cfc855

View file

@ -24,9 +24,14 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
#=================================================
ynh_script_progression --message="Setting up source files..." --weight=1
# Download, check integrity, uncompress and patch the source from manifest.toml
ynh_setup_source --dest_dir="$install_dir"
mkdir -p "$install_dir"
chown -R $app:www-data "$install_dir"
git config --system --add safe.directory $install_dir
git clone https://github.com/laurent22/joplin "$install_dir" --quiet
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
#=================================================