mirror of https://github.com/geohot/qira
Fixed pip2 reinstall in arch
On pacman the --needed directive prevents from reinstalling base-devel and python2-pip everytime the install script is run (most users will already have this packages and don't want to reinstall them :P) Also added the --noconfirm to pacman, and the -y to yum
This commit is contained in:
parent
bb2a4c1bd0
commit
6a449e90d0
|
@ -35,10 +35,10 @@ if [[ "$unamestr" == 'Linux' ]]; then
|
|||
sudo -H $PIP install virtualenv
|
||||
elif [ $(which pacman) ]; then
|
||||
echo "installing pip"
|
||||
sudo pacman -S base-devel python2-pip
|
||||
sudo pacman -S --needed --noconfirm base-devel python2-pip
|
||||
PIP="pip2"
|
||||
elif [ $(which yum) ]; then
|
||||
sudo yum install python-pip python-devel gcc gcc-c++ python-virtualenv glib2-devel
|
||||
sudo yum install -y python-pip python-devel gcc gcc-c++ python-virtualenv glib2-devel
|
||||
fi
|
||||
|
||||
if [ $(tracers/qemu/qira-i386 > /dev/null; echo $?) == 1 ]; then
|
||||
|
|
Loading…
Reference in New Issue