summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-15 23:14:55 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-15 23:14:55 +0300
commit861dc69bd54fd829aa590c032d6b93e880a48c80 (patch)
treeaa299c746202b44271ad2bcecc797cf0ee722bd2 /tools
parent75b267c28d7161d83c7f8ba7ae5016db1db13852 (diff)
downloadmanaverse-861dc69bd54fd829aa590c032d6b93e880a48c80.tar.gz
manaverse-861dc69bd54fd829aa590c032d6b93e880a48c80.tar.bz2
manaverse-861dc69bd54fd829aa590c032d6b93e880a48c80.tar.xz
manaverse-861dc69bd54fd829aa590c032d6b93e880a48c80.zip
In ci dont fail on local runner if cant update apt sources list.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ci/scripts/updaterepos.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ci/scripts/updaterepos.sh b/tools/ci/scripts/updaterepos.sh
index d589d28a0..6b70016fb 100755
--- a/tools/ci/scripts/updaterepos.sh
+++ b/tools/ci/scripts/updaterepos.sh
@@ -8,5 +8,5 @@ export DATA=$(cat /etc/resolv.conf|grep "nameserver 1.10.100.101")
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
+ sed -i 's!http://httpredir.debian.org/debian!http://1.10.100.103/debian!' /etc/apt/sources.list || true
fi