1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/uptime-kuma_ynh.git synced 2024-10-01 13:34:58 +02:00

ynh_secure_remove

Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
This commit is contained in:
Hadrien 2024-01-24 12:52:21 +01:00 committed by GitHub
parent 3d5512361f
commit 7534ce35cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -69,7 +69,7 @@ pushd "$install_dir"
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install --omit=dev
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm run download-dist
# Residue of old versions caching
ynh_exec_warn_less ynh_exec_as $app rm -rf .cache
ynh_secure_remove $install_dir/.cache
popd
#=================================================