diff options
Diffstat (limited to 'etc/tasks/999-clean.sh')
-rwxr-xr-x | etc/tasks/999-clean.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/tasks/999-clean.sh b/etc/tasks/999-clean.sh index 44f5d16..c791ec5 100755 --- a/etc/tasks/999-clean.sh +++ b/etc/tasks/999-clean.sh @@ -4,8 +4,17 @@ if [[ ! -f /.dockerenv ]]; then exit 1 fi +packages=( + gcc + gcc-c++ + gcc-gfortran +) +sudo yum remove -y "${packages[@]}" sudo yum clean all +# Remove all static libraries +sudo find "${TOOLCHAIN_LIB}" -name '*.a' -delete + sudo rm -rf "${HOME}/.astropy" sudo rm -rf "${HOME}"/* sudo rm -rf /tmp/* |