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

Delete $install_dir/.cache present in older versions

This commit is contained in:
Hadrien 2024-01-23 14:58:49 +01:00
parent 63b214b8d0
commit e6ff7a9433

View file

@ -69,6 +69,8 @@ pushd "$install_dir"
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install --production ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install --production
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm run download-dist ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm run download-dist
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm cache clean -f ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm cache clean -f
# Residue of old versions caching
ynh_exec_warn_less ynh_exec_as $app rm -rf .cache
popd popd
#================================================= #=================================================