#!/bin/bash # Usage: dasources # Adjust /etc/apt/sources.list.d/debathena.list using the # DEBATHENA_RELEASE environment variable (set to either "production", # "-proposed", or "-development"), # # If DEBATHENA_RELEASE is unset, assume we're building for -proposed. : ${DEBATHENA_RELEASE=-proposed} : ${DEBATHENA_MIRROR:=http://debathena.mit.edu/apt} dist="$SBUILD_BUILD_CONF_DISTRIBUTION" list=/etc/apt/sources.list.d/debathena.list rm -f "$list" cat >>"$list" <>"$list" <>"$list" <