Skip to content

Commit

Permalink
only find and remove files, and then remove the entire install dir
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroge committed Oct 15, 2024
1 parent 0e20f00 commit 1091ab7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion EESSI-remove-software.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ if [ $EUID -eq 0 ]; then
app_dir=${app_installprefix}/software/${app}
app_module=${app_installprefix}/modules/all/${app}.lua
echo_yellow "Removing ${app_dir} and ${app_module}..."
find ${app_dir} -exec rm -rf {} \;
find ${app_dir} -type f -exec rm -f {} \;
rm -rf ${app_dir}
rm -rf ${app_module}
done
else
Expand Down

0 comments on commit 1091ab7

Please sign in to comment.