Pārlūkot izejas kodu

Limit peertube to x86 64bit

Bob Mottram 7 gadus atpakaļ
vecāks
revīzija
0dbb10f2db
1 mainītis faili ar 6 papildinājumiem un 2 dzēšanām
  1. 6
    2
      src/freedombone-app-peertube

+ 6
- 2
src/freedombone-app-peertube Parādīt failu

@@ -614,10 +614,11 @@ function mesh_install_peertube {
614 614
     if [[ $VARIANT != "meshclient" && $VARIANT != "meshusb" ]]; then
615 615
         return
616 616
     fi
617
+    if [[ $ARCHITECTURE != 'x86_64' && $ARCHITECTURE != 'amd64' ]]; then
618
+        return
619
+    fi
617 620
 
618 621
     chroot "$rootdir" apt-get -yq install ffmpeg
619
-    chroot "$rootdir" apt-get -yq install -y gcc-multilib
620
-    chroot "$rootdir" apt-get -yq install -y g++-multilib
621 622
 
622 623
     function_check install_postgresql
623 624
     install_postgresql
@@ -700,6 +701,9 @@ function install_peertube {
700 701
         mesh_install_peertube
701 702
         return
702 703
     fi
704
+    if [[ $ARCHITECTURE != 'x86_64' && $ARCHITECTURE != 'amd64' ]]; then
705
+        return
706
+    fi
703 707
 
704 708
     if [ ! $ONION_ONLY ]; then
705 709
         ONION_ONLY='no'