diff options
Diffstat (limited to 'docker/crupest-debian-dev/bootstrap/apt-source/setup.bash')
-rwxr-xr-x | docker/crupest-debian-dev/bootstrap/apt-source/setup.bash | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docker/crupest-debian-dev/bootstrap/apt-source/setup.bash b/docker/crupest-debian-dev/bootstrap/apt-source/setup.bash index 60e635b..60583d4 100755 --- a/docker/crupest-debian-dev/bootstrap/apt-source/setup.bash +++ b/docker/crupest-debian-dev/bootstrap/apt-source/setup.bash @@ -4,9 +4,14 @@ set -e dir=$(dirname "$0") -if [[ -n $IN_CHINA ]]; then +echo "Setting up apt source..." + +if [[ -n $CRUPEST_DEBIAN_DEV_IN_CHINA ]]; then + echo "In China, using China source..." "$dir/replace-domain.bash" "$(cat "$dir/china-source.txt")" fi "$dir/install-apt-https.bash" "$dir/replace-http.bash" + +echo "Setting up apt source done." |