[misc] remove cr
This commit is contained in:
parent
dbb0487c73
commit
71d845ff3a
|
@ -23,9 +23,9 @@ trusted-host = pypi.doubanio.com
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# docker accelerator
|
# docker accelerator
|
||||||
if [ -d /etc/docker ]; then$
|
if [ -d /etc/docker ]; then
|
||||||
dj='{}'$
|
dj='{}'
|
||||||
[ -f /etc/docker/daemon.json ] && dj=$(cat /etc/docker/daemon.json)$
|
[ -f /etc/docker/daemon.json ] && dj=$(cat /etc/docker/daemon.json)
|
||||||
echo $dj | jq '. + {"registry-mirrors": ["https://izuhlbap.mirror.aliyuncs.com"]}' > /etc/docker/daemon.json$
|
echo $dj | jq '. + {"registry-mirrors": ["https://izuhlbap.mirror.aliyuncs.com"]}' > /etc/docker/daemon.json
|
||||||
systemctl restart docker$
|
systemctl restart docker
|
||||||
fi$
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user