mirror of
https://github.com/certbot/certbot.git
synced 2026-08-04 12:32:02 +02:00
Merge pull request #1159 from pritambaral/arch-gcc
Respect pre-installed gcc package on Arch Linux
This commit is contained in:
@@ -4,6 +4,15 @@
|
|||||||
# - Manjaro 15.09 (x86_64)
|
# - Manjaro 15.09 (x86_64)
|
||||||
# - ArchLinux (x86_64)
|
# - ArchLinux (x86_64)
|
||||||
|
|
||||||
|
# Both "gcc-multilib" and "gcc" packages provide gcc. If user already has
|
||||||
|
# "gcc-multilib" installed, let's stick to their choice
|
||||||
|
if pacman -Qc gcc-multilib &>/dev/null
|
||||||
|
then
|
||||||
|
GCC_PACKAGE="gcc-multilib";
|
||||||
|
else
|
||||||
|
GCC_PACKAGE="gcc";
|
||||||
|
fi
|
||||||
|
|
||||||
# "python-virtualenv" is Python3, but "python2-virtualenv" provides
|
# "python-virtualenv" is Python3, but "python2-virtualenv" provides
|
||||||
# only "virtualenv2" binary, not "virtualenv" necessary in
|
# only "virtualenv2" binary, not "virtualenv" necessary in
|
||||||
# ./bootstrap/dev/_common_venv.sh
|
# ./bootstrap/dev/_common_venv.sh
|
||||||
@@ -11,7 +20,7 @@ pacman -S --needed \
|
|||||||
git \
|
git \
|
||||||
python2 \
|
python2 \
|
||||||
python-virtualenv \
|
python-virtualenv \
|
||||||
gcc \
|
"$GCC_PACKAGE" \
|
||||||
dialog \
|
dialog \
|
||||||
augeas \
|
augeas \
|
||||||
openssl \
|
openssl \
|
||||||
|
|||||||
Reference in New Issue
Block a user