diff options
Diffstat (limited to 'docker/debian-dev/bootstrap/apt-source/12/replace-domain.bash')
-rwxr-xr-x | docker/debian-dev/bootstrap/apt-source/12/replace-domain.bash | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/docker/debian-dev/bootstrap/apt-source/12/replace-domain.bash b/docker/debian-dev/bootstrap/apt-source/12/replace-domain.bash deleted file mode 100755 index d55307c..0000000 --- a/docker/debian-dev/bootstrap/apt-source/12/replace-domain.bash +++ /dev/null @@ -1,7 +0,0 @@ -#! /usr/bin/env bash - -set -e - -echo "Backup /etc/apt/sources.list.d/debian.sources to /etc/apt/sources.list.d/debian.sources.bak." -echo "Replace source domain in /etc/apt/sources.list.d/debian.sources to $1." -sed -i.bak -E "s|(URIs:\\s*https?://)[-_.a-zA-Z0-9]+(/.*)|\\1$1\\2|" /etc/apt/sources.list.d/debian.sources |