diff --git a/scripts/bash_lib.sh b/scripts/bash_lib.sh index 7950bb88..41fdc9a8 100644 --- a/scripts/bash_lib.sh +++ b/scripts/bash_lib.sh @@ -173,6 +173,7 @@ rpm_pkg_makecache() { else sudo rm -rf "/var/cache/$pkg_cmd/*" sudo "$pkg_cmd" clean all + fi source /etc/os-release if [[ $ID == "rhel" ]]; then sudo subscription-manager refresh