fi
# apt sources
+if [ "$MIRROR" != "${MIRROR%file://}" ]; then
+ MIRROR=http://archive.ubuntu.com/ubuntu
+fi
+
cat <<EOF > $DIR/etc/apt/sources.list
deb $MIRROR $DIST main restricted universe multiverse
deb-src $MIRROR $DIST main restricted universe multiverse
chroot $DIR apt-get update
# common packages for development
-chroot $DIR apt-get install -y build-essential devscripts fakeroot
+chroot $DIR apt-get install -y build-essential fakeroot