Comment 1 for bug 1206530

Revision history for this message
Francis Ginther (fginther) wrote :

This should work:

export ARCH=`dpkg --print-architecture`
if [ $ARCH == 'armhf' ]; then
    ARCHIVE_SOURCE=http://ports.ubuntu.com/ubuntu-ports
else
    ARCHIVE_SOURCE=http://archive.ubuntu.com/ubuntu/
fi

echo deb $ARCHIVE_SOURCE $DISTRIB_CODENAME universe >> /etc/apt/sources.list