Преглед изворни кода

Fixed http-server directory

Gamaliel Espinoza пре 6 година
родитељ
комит
90218017bf
1 измењених фајлова са 5 додато и 1 уклоњено
  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