X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=b3b9e4a5d66c7e6fa0dd19ca8e55d8ef6c38afd4;hb=refs%2Ftags%2Fdebian%2F9.0.1;hp=34fdaecfa187e486aa63fd70f767123cd49ea9ed;hpb=98d4181c97a3dd43b86aa03b1d409f7671eabd18;p=apt-cn.git diff --git a/debian/postinst b/debian/postinst index 34fdaec..b3b9e4a 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.*stretch/updates main contrib non-free +^deb .*tp://ftp.hr.debian.org/.*debian.*stretch main contrib non-free +^deb .*tp://ftp.hr.debian.org/.*debian.*stretch-updates main contrib non-free +^deb .*tp://ftp.carnet.hr/carnet-debian.*stretch 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/ stretch/updates main contrib non-free +2 deb http://ftp.hr.debian.org/debian/ stretch main contrib non-free +3 deb http://ftp.hr.debian.org/debian/ stretch-updates main contrib non-free +4 deb http://ftp.carnet.hr/carnet-debian/ carnet-stretch 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#