Limit peertube to x86 64bit

This commit is contained in:
Bob Mottram 2017-12-04 16:34:23 +00:00
parent 38665c7cf1
commit 0dbb10f2db
1 changed files with 6 additions and 2 deletions

View File

@ -614,10 +614,11 @@ function mesh_install_peertube {
if [[ $VARIANT != "meshclient" && $VARIANT != "meshusb" ]]; then
return
fi
if [[ $ARCHITECTURE != 'x86_64' && $ARCHITECTURE != 'amd64' ]]; then
return
fi
chroot "$rootdir" apt-get -yq install ffmpeg
chroot "$rootdir" apt-get -yq install -y gcc-multilib
chroot "$rootdir" apt-get -yq install -y g++-multilib
function_check install_postgresql
install_postgresql
@ -700,6 +701,9 @@ function install_peertube {
mesh_install_peertube
return
fi
if [[ $ARCHITECTURE != 'x86_64' && $ARCHITECTURE != 'amd64' ]]; then
return
fi
if [ ! $ONION_ONLY ]; then
ONION_ONLY='no'