Kaynağa Gözat

more changes for install

Gamaliel Espinoza 7 yıl önce
ebeveyn
işleme
cbd69c4066
1 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 4 4
      fourier_install.sh

+ 4 - 4
fourier_install.sh

@@ -18,12 +18,14 @@ mysql_db=fourier
 echo "Fourier installer $installer_version"
 echo "------------------------------------"
 
+sudo apt-get install python pip
+
 if [[ "$OSTYPE" == darwin* ]]; then
 	programspath=~/fourier
 fi
 
 clonerepo() {
-	GIT_SSH_COMMAND="ssh -i $installerpath/repokey" \
+	GIT_SSH_COMMAND="ssh -i $installerpath/repokey -o StrictHostKeychecking=no" \
 					git clone $gitbase/$1 $2
 }
 
@@ -76,7 +78,7 @@ if [[ "$OSTYPE" == darwin* ]]; then
 	pip install -r $installerpath/requirements.txt
 else
 	curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
-	sudo apt-get install alsa-utils
+	sudo apt-get install -y alsa-utils
 	sudo apt-get install -y libudev-dev
 	sudo apt-get install -y tmux
 	sudo apt-get install -y vim
@@ -90,8 +92,6 @@ else
 	sudo apt-get install -y cmake
 	sudo apt-get install -y rtl-sdr
 	sudo apt-get install sqlite3
-	wget https://bootstrap.pypa.io/get-pip.py
-	sudo python get-pip.py
 	sudo apt-get install -y portaudio19-dev
 	sudo pip install pyaudio
 	sudo apt-get install -y ffmpeg