Skip to content
Permalink
Browse files

added hack for squeeze apt sources and config (eol)

  • Loading branch information
alonswartz committed Oct 31, 2016
1 parent 185c104 commit faeaca3bba2ea89235660d997f186d3d61086967
Showing with 11 additions and 0 deletions.
  1. +11 −0 conf.d/apt-sources
@@ -36,3 +36,14 @@ case "$DISTRO" in
*) fatal "DISTRO is not set or not recognized" ;;
esac

# hack for squeeze
if [ "$CODENAME" == "squeeze" ]; then
cat >/etc/apt/sources.list<<EOF
deb http://archive.debian.org/debian squeeze main
deb http://archive.debian.org/debian squeeze-lts main
EOF
cat >/etc/apt/apt.conf.d/check-valid<<EOF
Acquire::Check-Valid-Until false;
EOF
fi

0 comments on commit faeaca3

Please sign in to comment.
You can’t perform that action at this time.