Parcourir la source

Fixed http-server directory

Gamaliel Espinoza il y a 6 ans
Parent
commit
90218017bf
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  1. 5 1
      fourier_install.sh

+ 5 - 1
fourier_install.sh

@@ -102,7 +102,7 @@ else
 	sudo apt-get install -y rtl-sdr
 	sudo apt-get install -y sqlite3
 	sudo apt-get install -y portaudio19-dev
-	sudo apt-get install dvb-apps
+	sudo apt-get install -y dvb-apps
 	sudo pip install pyaudio pyusb pydub numpy requests \
 					 scipy python-firebase tornado mutagen
 	sudo apt-get install -y ffmpeg
@@ -176,7 +176,11 @@ fi
 		pm2 start ondemand/ondemand/service.py \
 				  --interpreter=python \
 				  --name=ondemand
+
+		cd "$datapath"
 		pm2 start http-server
+		cd "$programspath"
+
 		pm2 save
 		pm2 startup