diff options
author | Javier Jardón <jjardon@gnome.org> | 2017-01-30 18:32:11 +0000 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2017-01-30 18:32:11 +0000 |
commit | 2e9f1acd95508d144bb7481e0bf0218716c2e053 (patch) | |
tree | 7d8376ccb07f6ca60efb4bbd68909318a534fc33 /install_dependencies.sh | |
parent | a1b1950ba321a2db44a19c14d3f30022bb9dbfb7 (diff) | |
download | ybd-2e9f1acd95508d144bb7481e0bf0218716c2e053.tar.gz |
install_dependencies.sh: Remove system-installed python pip package
Diffstat (limited to 'install_dependencies.sh')
-rwxr-xr-x | install_dependencies.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/install_dependencies.sh b/install_dependencies.sh index 1b9e6ed..82c28bb 100755 --- a/install_dependencies.sh +++ b/install_dependencies.sh @@ -32,6 +32,7 @@ installed=false command -v apt-get >/dev/null 2>&1 if [ $? -eq 0 ]; then $SUDO apt-get -qq update + $SUDE apt-get -qq remove python-pip $SUDO apt-get -qq install build-essential gawk git m4 wget python python-dev git if [ $? -ne 0 ]; then echo "Install failed" @@ -43,6 +44,7 @@ fi # install for fedora command -v dnf >/dev/null 2>&1 if [ $? -eq 0 ] && [ $installed = false ]; then + $SUDO dnf remove -y python-pip $SUDO dnf install -y which make automake gcc gcc-c++ gawk git m4 wget python python-devel git redhat-rpm-config if [ $? -ne 0 ]; then echo "Install failed" @@ -54,6 +56,7 @@ fi # install for aws command -v yum >/dev/null 2>&1 if [ $? -eq 0 ] && [ $installed = false ]; then + $SUDO yum remove -y python-pip $SUDO yum install -y which make automake gcc gcc-c++ gawk git m4 wget python python-devel git if [ $? -ne 0 ]; then echo "Install failed" |