From: Enlightenment S. <no-...@en...> - 2009-05-24 08:01:43
|
Log: Use security repository for all ubuntu. Author: quaker Date: 2009-05-24 01:01:36 -0700 (Sun, 24 May 2009) New Revision: 40807 Modified: trunk/packaging/debian/pbuilder-config Modified: trunk/packaging/debian/pbuilder-config =================================================================== --- trunk/packaging/debian/pbuilder-config 2009-05-24 07:55:15 UTC (rev 40806) +++ trunk/packaging/debian/pbuilder-config 2009-05-24 08:01:36 UTC (rev 40807) @@ -63,11 +63,11 @@ OTHERMIRROR="deb file://$PBUILDERPLACE/$NAME/result/ /" -if [ "$DIST" = "hardy" ]; then +if $(echo ${UBUNTU_SUITES[@]} | grep -q "$DIST"); then case $ARCH in - armel|lpia) OTHERMIRROR="$OTHERMIRROR | deb http://$UBUNTU_PORTS_MIRROR/ubuntu-ports/ hardy-security $COMPONENTS" + armel|lpia) OTHERMIRROR="$OTHERMIRROR | deb http://$UBUNTU_PORTS_MIRROR/ubuntu-ports/ $DIST-security $COMPONENTS" ;; - *) OTHERMIRROR="$OTHERMIRROR | deb http://$UBUNTU_SECURITY_MIRROR/ubuntu/ hardy-security $COMPONENTS" + *) OTHERMIRROR="$OTHERMIRROR | deb http://$UBUNTU_SECURITY_MIRROR/ubuntu/ $DIST-security $COMPONENTS" ;; esac fi |