#!/bin/sh # # This script sets up the /etc/apt/sources.list for APT. # # Steve # -- # $Id: 20-setup-apt,v 1.4 2006-01-08 01:53:33 steve Exp $ prefix=$1 cat < ${prefix}/etc/apt/sources.list # # /etc/apt/sources.list # # # ${dist} # deb ${mirror} ${dist} main contrib non-free deb-src ${mirror} ${dist} main contrib non-free # # Security updates # deb http://security.debian.org/ stable/updates main contrib non-free deb-src http://security.debian.org/ stable/updates main contrib non-free E_O_APT # # Now that the sources have been setup make sure the system is up to date. # chroot ${prefix} /usr/bin/apt-get update