projects
/
grml-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bdfb54
)
33-aptsetup: adopt snapshot.debian.org code for http.debian.net
author
Michael Prokop
<mika@grml.org>
Tue, 4 Feb 2014 14:56:10 +0000
(15:56 +0100)
committer
Michael Prokop
<mika@grml.org>
Tue, 4 Feb 2014 14:56:10 +0000
(15:56 +0100)
etc/grml/fai/config/scripts/GRMLBASE/33-aptsetup
patch
|
blob
|
history
diff --git
a/etc/grml/fai/config/scripts/GRMLBASE/33-aptsetup
b/etc/grml/fai/config/scripts/GRMLBASE/33-aptsetup
index
39af509
..
678b42b
100755
(executable)
--- a/
etc/grml/fai/config/scripts/GRMLBASE/33-aptsetup
+++ b/
etc/grml/fai/config/scripts/GRMLBASE/33-aptsetup
@@
-11,7
+11,7
@@
set -e
# use snapshot.debian.org based on build date for release
if ifclass RELEASE ; then
set -u
- perl -pi -e 'BEGIN { $d="'$(date +%Y%m%d)'"; } s#^(\s+)(deb.* )(.*://
cdn
.*?)\s+(\w+)\s+(.*)$#$1$2http://snapshot.debian.org/archive/debian/$d/ $4 $5#' \
+ perl -pi -e 'BEGIN { $d="'$(date +%Y%m%d)'"; } s#^(\s+)(deb.* )(.*://
http.debian.net
.*?)\s+(\w+)\s+(.*)$#$1$2http://snapshot.debian.org/archive/debian/$d/ $4 $5#' \
"${target}/etc/apt/sources.list.d/debian.list"
fi