ispravak lintian upozorenja
[apt-cn.git] / debian / postinst
index 34fdaec..541852e 100755 (executable)
@@ -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#