Browse Source

Exit if peertube install fails

stretch
Bob Mottram 4 years ago
parent
commit
4a04d29121
  1. 4
      src/freedombone-app-peertube

4
src/freedombone-app-peertube

@ -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

Loading…
Cancel
Save