novi repo
[apt-cn.git] / debian / postinst
index 34fdaec..84230b9 100755 (executable)
@@ -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.*squeeze/updates main contrib non-free
+^deb .*tp://ftp.hr.debian.org/.*debian.*squeeze 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.carnet.hr/carnet-debian/ carnet-squeeze main non-free"
 
 notneeded_repos_regexp="^deb.*tp://.*debian-non-US"