summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-20 20:16:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-21 03:58:45 +0300
commit48d343268f51a8a3f86515d8c5f1f07d1e3e4c6e (patch)
tree70fe2527340e0ce034235a8665f54271e5993583
parent10acf4ac4abc9a4e85e0f6ae9c1c4b6e82bc8344 (diff)
downloadmanaplus-48d343268f51a8a3f86515d8c5f1f07d1e3e4c6e.tar.gz
manaplus-48d343268f51a8a3f86515d8c5f1f07d1e3e4c6e.tar.bz2
manaplus-48d343268f51a8a3f86515d8c5f1f07d1e3e4c6e.tar.xz
manaplus-48d343268f51a8a3f86515d8c5f1f07d1e3e4c6e.zip
In local docker detection script also fix packages url http://deb.debian.org/debian.
-rwxr-xr-xtools/ci/scripts/init.sh1
-rwxr-xr-xtools/ci/scripts/updaterepos.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/ci/scripts/init.sh b/tools/ci/scripts/init.sh
index 5ab131b1c..eb7ba7632 100755
--- a/tools/ci/scripts/init.sh
+++ b/tools/ci/scripts/init.sh
@@ -24,6 +24,7 @@ function update_repos {
then
echo "Detected local runner"
sed -i 's!http://httpredir.debian.org/debian!http://1.10.100.103/debian!' /etc/apt/sources.list
+ sed -i 's!http://deb.debian.org/debian!http://1.10.100.103/debian!' /etc/apt/sources.list
fi
}
diff --git a/tools/ci/scripts/updaterepos.sh b/tools/ci/scripts/updaterepos.sh
index 6b70016fb..99173a8fa 100755
--- a/tools/ci/scripts/updaterepos.sh
+++ b/tools/ci/scripts/updaterepos.sh
@@ -9,4 +9,5 @@ echo "${DATA}"
if [ "$DATA" != "" ]; then
echo "Detected local runner"
sed -i 's!http://httpredir.debian.org/debian!http://1.10.100.103/debian!' /etc/apt/sources.list || true
+ sed -i 's!http://deb.debian.org/debian!http://1.10.100.103/debian!' /etc/apt/sources.list || true
fi