Do not disable multi-arch on precise

Expressed the conditional as != precise to future-proof for when xenial
comes out.

Change-Id: Icdde40c638d2baf3b86eb58ff42f0132d1181b0b
This commit is contained in:
Monty Taylor
2016-02-12 09:41:40 -06:00
parent 81faf8cb2e
commit 413fcf9275
+4 -2
View File
@@ -56,8 +56,10 @@ deb $NODEPOOL_UBUNTU_MIRROR $LSBDISTCODENAME-updates main universe
deb $NODEPOOL_UBUNTU_MIRROR $LSBDISTCODENAME-backports main universe
deb $NODEPOOL_UBUNTU_MIRROR $LSBDISTCODENAME-security main universe
EOF
# Turn off multi-arch
sudo dpkg --remove-architecture i386
if [ "$LSBDISTCODENAME" != 'precise' ] ; then
# Turn off multi-arch
sudo dpkg --remove-architecture i386
fi
# Turn off checking of GPG signatures
sudo dd of=/etc/apt/apt.conf.d/99unauthenticated <<EOF
APT::Get::AllowUnauthenticated "true";