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

purge the "bundles" folder to avoid pointlessly taking up space at each update

This commit is contained in:
OniriCorpe 2023-11-29 19:42:00 +01:00 committed by Josue-T
parent 4b85e2b046
commit 85fdbdf1f0

View file

@ -37,6 +37,9 @@ fi
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
# purge the "bundles" folder to avoid pointlessly taking up space at each update
ynh_secure_remove --file="$install_dir/bundles/*"
ynh_script_progression --message="Upgrading source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src