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

Cleanup install_dir upon upgrade

Notably, for removing old NodeJS stuff
This commit is contained in:
tituspijean 2024-01-07 14:52:01 +01:00
parent 10e092c9b4
commit 787ce8c31f
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -33,7 +33,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --keep=".env"
ynh_setup_source --dest_dir="$install_dir" --keep=".env nc" --full_replace
fi
chmod -R o-rwx "$install_dir"