Browse Source

qtox repo only works with certain architectures

Bob Mottram 8 years ago
parent
commit
849ee8dbec
No account linked to committer's email
1 changed files with 10 additions and 6 deletions
  1. 10
    6
      src/freedombone-image-customise

+ 10
- 6
src/freedombone-image-customise View File

1050
 
1050
 
1051
 	# desktop
1051
 	# desktop
1052
 	chroot "$rootdir" apt-get -y install mate-desktop-environment
1052
 	chroot "$rootdir" apt-get -y install mate-desktop-environment
1053
-	
1053
+
1054
 	# browser
1054
 	# browser
1055
 	chroot "$rootdir" apt-get -y install iceweasel
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
 	# Syncthing
1065
 	# Syncthing
1062
 	install_syncthing
1066
 	install_syncthing
1079
 		chroot "$rootdir" apt-get -y install hexchat profanity
1083
 		chroot "$rootdir" apt-get -y install hexchat profanity
1080
 
1084
 
1081
 		# zeronet
1085
 		# zeronet
1082
-		
1086
+
1083
 		# TODO
1087
 		# TODO
1084
 	fi
1088
 	fi
1085
 }
1089
 }