X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=08d29270c96c1dcbc882dbda4d7d0e757fd890de;hb=7c91671c5e4f020e01a8ec84dedba9c1e4a999e5;hp=34fdaecfa187e486aa63fd70f767123cd49ea9ed;hpb=98d4181c97a3dd43b86aa03b1d409f7671eabd18;p=apt-cn.git diff --git a/debian/postinst b/debian/postinst index 34fdaec..08d2927 100755 --- a/debian/postinst +++ b/debian/postinst @@ -3,16 +3,17 @@ 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.* lenny/updates main contrib non-free +^deb .*tp://ftp.carnet.hr/.*debian.* lenny main contrib non-free +^deb .*tp://ftp.carnet.hr/carnet-debian.* lenny 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/ lenny/updates main contrib non-free +2 deb http://ftp.carnet.hr/debian/ lenny main contrib non-free +3 deb http://ftp.carnet.hr/carnet-debian/ lenny main non-free" notneeded_repos_regexp="^deb.*tp://.*debian-non-US"