Heroku package don't use apt now
Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
This commit is contained in:
parent
38f5d34685
commit
4d51e9067a
1 changed files with 4 additions and 4 deletions
|
@ -28,16 +28,16 @@ echo "::group::Uninstalling Unnecessary Applications"
|
||||||
sudo -EH apt-fast -qq -y update &>/dev/null
|
sudo -EH apt-fast -qq -y update &>/dev/null
|
||||||
REL=$(grep "UBUNTU_CODENAME" /etc/os-release | cut -d'=' -f2)
|
REL=$(grep "UBUNTU_CODENAME" /etc/os-release | cut -d'=' -f2)
|
||||||
if [[ ${REL} == "focal" ]]; then
|
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
|
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
|
fi
|
||||||
unset REL
|
unset REL
|
||||||
sudo -EH apt-fast -qq -y purge \
|
sudo -EH apt-fast -qq -y purge \
|
||||||
${APT_Pac4Purge} \
|
${APT_Pac4Purge} \
|
||||||
adoptopenjdk-* openjdk* ant* \
|
adoptopenjdk-* openjdk* ant* \
|
||||||
*-icon-theme plymouth *-theme* fonts-* gsfonts gtk-update-icon-cache \
|
*-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 \
|
apache2* nginx msodbcsql* mssql-tools mysql* libmysqlclient* unixodbc-dev postgresql* libpq-dev odbcinst* mongodb-* sphinxsearch \
|
||||||
apport* popularity-contest \
|
apport* popularity-contest \
|
||||||
aspnetcore-* dotnet* \
|
aspnetcore-* dotnet* \
|
||||||
|
@ -47,7 +47,7 @@ sudo -EH apt-fast -qq -y purge \
|
||||||
buildah hhvm kubectl packagekit* podman podman-plugins skopeo \
|
buildah hhvm kubectl packagekit* podman podman-plugins skopeo \
|
||||||
chromium-browser firebird* firefox google-chrome* xvfb \
|
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 \
|
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* \
|
g++-7* gcc-7* g++-8* gcc-8* gfortran* \
|
||||||
gh subversion mercurial mercurial-common \
|
gh subversion mercurial mercurial-common \
|
||||||
info install-info landscape-common \
|
info install-info landscape-common \
|
||||||
|
|
Loading…
Reference in a new issue