Pārlūkot izejas kodu

qtox repo only works with certain architectures

Bob Mottram 8 gadus atpakaļ
vecāks
revīzija
849ee8dbec
Revīzijas autora e-pasts nav piesaistīts nevienam kontam
1 mainītis faili ar 10 papildinājumiem un 6 dzēšanām
  1. 10
    6
      src/freedombone-image-customise

+ 10
- 6
src/freedombone-image-customise Parādīt failu

@@ -1050,13 +1050,17 @@ function configure_user_interface {
1050 1050
 
1051 1051
 	# desktop
1052 1052
 	chroot "$rootdir" apt-get -y install mate-desktop-environment
1053
-	
1053
+
1054 1054
 	# browser
1055 1055
 	chroot "$rootdir" apt-get -y install iceweasel
1056
-	
1057
-	# Tox user interface
1058
-	enable_tox_repo
1059
-	chroot "$rootdir" apt-get -y install qtox
1056
+
1057
+	# NOTE: The Tox repo only supports a limited range of architectures
1058
+	if [[ $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'i386' ]]; then
1059
+		# Tox user interface
1060
+		enable_tox_repo
1061
+		# TODO: this may not work on all architectures
1062
+		chroot "$rootdir" apt-get -y install qtox
1063
+	fi
1060 1064
 
1061 1065
 	# Syncthing
1062 1066
 	install_syncthing
@@ -1079,7 +1083,7 @@ function configure_user_interface {
1079 1083
 		chroot "$rootdir" apt-get -y install hexchat profanity
1080 1084
 
1081 1085
 		# zeronet
1082
-		
1086
+
1083 1087
 		# TODO
1084 1088
 	fi
1085 1089
 }