2 # Filename: ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/33-aptsetup
3 # Purpose: configure Debian package management of live-system
4 # Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports: see http://grml.org/bugs/
6 # License: This file is licensed under the GPL v2 or any later version.
7 ################################################################################
11 if ifclass SNAPSHOT ; then
13 debianlist="${target}/etc/apt/sources.list.d/debian.list"
14 perl -pi -e 's#(deb.* )(.*://.*?)( .*)$#$1http://snapshot.debian.org/archive/debian/'$(date +%Y%m%d)'/$3#' ${debianlist}
17 ## END OF FILE #################################################################
18 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2