From 4d51e9067a1e0f4867510d39b7240b282ce768a7 Mon Sep 17 00:00:00 2001 From: rokibhasansagar Date: Thu, 15 Apr 2021 21:37:01 +0600 Subject: [PATCH] Heroku package don't use apt now Signed-off-by: rokibhasansagar --- cleanup.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cleanup.sh b/cleanup.sh index 6dcff7a..e47cdf6 100755 --- a/cleanup.sh +++ b/cleanup.sh @@ -28,16 +28,16 @@ echo "::group::Uninstalling Unnecessary Applications" sudo -EH apt-fast -qq -y update &>/dev/null REL=$(grep "UBUNTU_CODENAME" /etc/os-release | cut -d'=' -f2) if [[ ${REL} == "focal" ]]; then - APT_Pac4Purge="alsa-topology-conf alsa-ucm-conf python2 python2-minimal libpython-dev clang-9 clang-format-9 llvm-10-dev llvm-10-runtime llvm-10-tools llvm-10 lld-10 lld-9 libllvm10 libllvm9 libclang-common-10-dev libclang-cpp10 libclang1-10 clang-10 clang-format-10" + APT_Pac4Purge="alsa-topology-conf alsa-ucm-conf python2-dev python2-minimal libpython-dev clang-9 clang-format-9 llvm-10-dev llvm-10-runtime llvm-10-tools llvm-10 lld-10 lld-9 libllvm10 libllvm9 libclang-common-10-dev libclang-cpp10 libclang1-10 clang-10 clang-format-10" elif [[ ${REL} == "bionic" ]]; then - APT_Pac4Purge="clang-6.0 clang-format-6.0 libclang-common-6.0-dev libclang1-6.0 liblldb-6.0 libllvm6.0 llvm-6.0-dev lld-6.0" + APT_Pac4Purge="python-dev clang-6.0 clang-format-6.0 libclang-common-6.0-dev libclang1-6.0 liblldb-6.0 libllvm6.0 llvm-6.0-dev lld-6.0" fi unset REL sudo -EH apt-fast -qq -y purge \ ${APT_Pac4Purge} \ adoptopenjdk-* openjdk* ant* \ *-icon-theme plymouth *-theme* fonts-* gsfonts gtk-update-icon-cache \ - google-cloud-sdk heroku \ + google-cloud-sdk \ apache2* nginx msodbcsql* mssql-tools mysql* libmysqlclient* unixodbc-dev postgresql* libpq-dev odbcinst* mongodb-* sphinxsearch \ apport* popularity-contest \ aspnetcore-* dotnet* \ @@ -47,7 +47,7 @@ sudo -EH apt-fast -qq -y purge \ buildah hhvm kubectl packagekit* podman podman-plugins skopeo \ chromium-browser firebird* firefox google-chrome* xvfb \ clang-8 clang-format-8 libclang-common-8-dev libclang1-8 cpp-7 cpp-8 lld-8 llvm-8* libllvm8 liblldb-8 \ - esl-erlang ghc-* groff-base rake r-base* r-cran-* r-recommended ruby* swig* \ + esl-erlang ghc-* groff-base rake r-base* r-cran-* r-doc-* r-recommended ruby* swig* \ g++-7* gcc-7* g++-8* gcc-8* gfortran* \ gh subversion mercurial mercurial-common \ info install-info landscape-common \