summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-includes/lib
diff options
context:
space:
mode:
authorsegfault <segfault@riseup.net>2018-09-20 19:17:38 +0200
committersegfault <segfault@riseup.net>2018-09-20 19:31:48 +0200
commit2ac25fcd2fd78e4773aefdfd9db9ce245716cf7d (patch)
treefbb2935a0a9712848736778e55f24b90ae0f6d21 /config/chroot_local-includes/lib
parentccbed75eaf1bd3ae6d885d3981dc9ae2bf964275 (diff)
Simplify regex (refs: #15837)
Diffstat (limited to 'config/chroot_local-includes/lib')
-rwxr-xr-xconfig/chroot_local-includes/lib/live/config/1500-reconfigure-APT5
1 files changed, 2 insertions, 3 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 bded010..c9237dd 100755
--- a/config/chroot_local-includes/lib/live/config/1500-reconfigure-APT
+++ b/config/chroot_local-includes/lib/live/config/1500-reconfigure-APT
@@ -97,9 +97,8 @@ s{
^
(Pin[:]\s+origin\s+)
deb[.]tails[.]boum[.]org
- /?
- (\s+)
-}{$1jenw7xbd6tf7vfhp.onion$2}xms;
+ $
+}{$1jenw7xbd6tf7vfhp.onion}xms;
' | perl -pi - /etc/apt/preferences