X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=541852e47f1bf761fb7b4a5df41acfe229f5e63e;hb=9c7d181a71d00df814130e24f82ffb3885717c50;hp=34fdaecfa187e486aa63fd70f767123cd49ea9ed;hpb=98d4181c97a3dd43b86aa03b1d409f7671eabd18;p=apt-cn.git diff --git a/debian/postinst b/debian/postinst index 34fdaec..541852e 100755 --- a/debian/postinst +++ b/debian/postinst @@ -3,16 +3,19 @@ set -e [ "$1" = "configure" ] || exit 0 +[ "$DEBIAN_SCRIPT_DEBUG" ] && set -vx repos_regexp=" -^deb .*tp://security.debian.org etch/updates main contrib non-free -^deb .*tp://ftp.carnet.hr/.*debian etch main contrib non-free -^deb .*tp://ftp.carnet.hr/carnet-debian etch main non-free" +^deb .*tp://security.debian.org.*squeeze/updates main contrib non-free +^deb .*tp://ftp.hr.debian.org/.*debian.*squeeze main contrib non-free +^deb .*tp://ftp.hr.debian.org/.*debian.*squeeze-updates main contrib non-free +^deb .*tp://ftp.carnet.hr/carnet-debian.*squeeze main non-free" repos=" -1 deb http://security.debian.org etch/updates main contrib non-free -2 deb http://ftp.carnet.hr/debian etch main contrib non-free -3 deb http://ftp.carnet.hr/carnet-debian etch main non-free" +1 deb http://security.debian.org/ squeeze/updates main contrib non-free +2 deb http://ftp.hr.debian.org/debian/ squeeze main contrib non-free +3 deb http://ftp.hr.debian.org/debian/ squeeze-updates main contrib non-free +4 deb http://ftp.carnet.hr/carnet-debian/ carnet-squeeze main non-free" notneeded_repos_regexp="^deb.*tp://.*debian-non-US" @@ -43,3 +46,5 @@ if [ ! -z "$needed" ]; then echo "CN: You can add the above to /etc/apt/sources.list or just:" echo "CN: # install-carnet-sources.list" fi + +#DEBHELPER#