summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-includes/lib/live/config/1500-reconfigure-APT
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-includes/lib/live/config/1500-reconfigure-APT')
-rwxr-xr-xconfig/chroot_local-includes/lib/live/config/1500-reconfigure-APT22
1 files changed, 16 insertions, 6 deletions
diff --git a/config/chroot_local-includes/lib/live/config/1500-reconfigure-APT b/config/chroot_local-includes/lib/live/config/1500-reconfigure-APT
index 10a1535..432c407 100755
--- a/config/chroot_local-includes/lib/live/config/1500-reconfigure-APT
+++ b/config/chroot_local-includes/lib/live/config/1500-reconfigure-APT
@@ -20,7 +20,7 @@ s{
/[0-9]{10} # serial
/?
(\s+)
-}{$1tor+http://ftp.us.debian.org/debian/$2}xms;
+}{$1tor+http://vwakviie2ienjx6t.onion/debian/$2}xms;
s{
^
@@ -30,7 +30,7 @@ s{
/[0-9]{10} # serial
/?
(\s+)
-}{$1tor+http://security.debian.org/$2}xms;
+}{$1tor+http://sgvtcaew4bxjd7ln.onion/$2}xms;
s{
^
@@ -40,7 +40,7 @@ s{
/[0-9]{10} # serial
/?
(\s+)
-}{$1tor+http://deb.torproject.org/torproject.org/$2}xms;
+}{$1tor+http://sdscoq7snqtznauu.onion/torproject.org/$2}xms;
### Tagged snapshots
@@ -52,7 +52,7 @@ s{
/debian
/?
(\s+)
-}{$1tor+http://ftp.us.debian.org/debian/$2}xms;
+}{$1tor+http://vwakviie2ienjx6t.onion/debian/$2}xms;
s{
^
@@ -62,7 +62,7 @@ s{
/debian-security
/?
(\s+)
-}{$1tor+http://security.debian.org/$2}xms;
+}{$1tor+http://sgvtcaew4bxjd7ln.onion/$2}xms;
s{
^
@@ -72,6 +72,16 @@ s{
/torproject
/?
(\s+)
-}{$1tor+http://deb.torproject.org/torproject.org/$2}xms;
+}{$1tor+http://sdscoq7snqtznauu.onion/torproject.org/$2}xms;
+
+### Custom APT repository
+
+s{
+ ^
+ (deb(?:-src)?\s+)
+ tor[+]https?://deb[.]tails[.]boum[.]org
+ /?
+ (\s+)
+}{$1tor+http://jenw7xbd6tf7vfhp.onion/$2}xms;
' | perl -pi - /etc/apt/sources.list /etc/apt/sources.list.d/*.list