properly using ynh_secure_remove

This commit is contained in:
keoma
2019-02-09 13:03:20 +01:00
parent e4ea067b26
commit 8617c23c2b
3 changed files with 18 additions and 11 deletions

View File

@@ -27,4 +27,4 @@ git --work-tree "${tmpdir}/" --git-dir "${tmpdir}/.git/" reset --hard "${gitcomm
cd "${tmpdir}/scripts/"
bash ./upgrade
rm -r "${tmpdir}/"
ynh_secure_remove "${tmpdir}/"