diff --git a/install.sh b/install.sh index 81ed789..adede8f 100644 --- a/install.sh +++ b/install.sh @@ -8,7 +8,7 @@ sudo apt install -y git curl wget nodejs npm samba samba-common-bin git clone https://git.bpfilip.dk/fbp/video-player.git -cd video-player +pushd /home/pi/video-player npm install @@ -24,3 +24,5 @@ sudo systemctl restart smbd sudo cp video-player.service /etc/systemd/system/video-player.service sudo systemctl enable video-player.service sudo systemctl start video-player.service + +popd \ No newline at end of file