summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2016-05-11 19:09:58 +0000
committerintrigeri <intrigeri@boum.org>2016-05-11 19:30:31 +0000
commite47cc1204e1afda081251bf667b5fa21fbaf73a7 (patch)
treecd5638268d5c6f0fbd3e43f09204e5be115d12ec /config
parent8efc9e33511795c7346bdcfbf888582fa1b8c36e (diff)
Don't attempt to fetch deb-src for torproject: they don't provide anything useful in there, so we don't snapshot them.
Diffstat (limited to 'config')
-rwxr-xr-xconfig/chroot_local-hooks/19-install-tor-browser-AppArmor-profile2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/19-install-tor-browser-AppArmor-profile b/config/chroot_local-hooks/19-install-tor-browser-AppArmor-profile
index 4472f2f..e239634 100755
--- a/config/chroot_local-hooks/19-install-tor-browser-AppArmor-profile
+++ b/config/chroot_local-hooks/19-install-tor-browser-AppArmor-profile
@@ -18,6 +18,8 @@ toggle_src_APT_sources() {
cat /etc/apt/sources.list /etc/apt/sources.list.d/*.list \
| grep --extended-regexp --line-regexp --invert-match \
'deb\s+file:/root/local-packages\s+\./' \
+ | grep --extended-regexp --invert-match \
+ '^deb\s+http://time-based\.snapshots\.deb\.tails\.boum.org/torproject/' \
| sed --regexp-extended -e 's,^deb(\s+),deb-src\1,' \
> "$TEMP_APT_SOURCES"
;;