diff options
Diffstat (limited to 'docker/debian-dev/bootstrap/apt-source/replace-http.bash')
-rwxr-xr-x | docker/debian-dev/bootstrap/apt-source/replace-http.bash | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/docker/debian-dev/bootstrap/apt-source/replace-http.bash b/docker/debian-dev/bootstrap/apt-source/replace-http.bash index b5f6cca..fae082a 100755 --- a/docker/debian-dev/bootstrap/apt-source/replace-http.bash +++ b/docker/debian-dev/bootstrap/apt-source/replace-http.bash @@ -2,9 +2,6 @@ set -e -apt-get update -apt-get install -y apt-transport-https ca-certificates - -sed -i.bak 's/https?/https/' /etc/apt/sources.list -apt-get update - +echo "Backup /etc/apt/sources.list to /etc/apt/sources.list.bak." +echo "Replace http to https in /etc/apt/sources.list." +sed -i.bak 's/https\?/https/' /etc/apt/sources.list |