Skip to content
Snippets Groups Projects
Commit 4a04d291 authored by Bob Mottram's avatar Bob Mottram
Browse files

Exit if peertube install fails

parent f8a9f4d5
No related branches found
No related tags found
No related merge requests found
......@@ -661,6 +661,10 @@ fi
EOF
chmod +x $rootdir/usr/bin/install_peertube
chroot "$rootdir" /usr/bin/install_peertube
if [ ! "$?" = "0" ]; then
echo $'PeerTube install failed'
exit 735638
fi
echo '[Unit]' > $rootdir/etc/systemd/system/peertube.service
echo 'Description=PeerTube Decentralized video streaming platform' >> $rootdir/etc/systemd/system/peertube.service
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment