summaryrefslogtreecommitdiff
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
parent75b267c28d7161d83c7f8ba7ae5016db1db13852 (diff)
downloadmv-861dc69bd54fd829aa590c032d6b93e880a48c80.tar.gz
mv-861dc69bd54fd829aa590c032d6b93e880a48c80.tar.bz2
mv-861dc69bd54fd829aa590c032d6b93e880a48c80.tar.xz
mv-861dc69bd54fd829aa590c032d6b93e880a48c80.zip
In ci dont fail on local runner if cant update apt sources list.
-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