Update install.sh
This commit is contained in:
parent
3cb70176c3
commit
4d0d9c4d50
1 changed files with 1 additions and 0 deletions
|
@ -208,6 +208,7 @@ fi
|
|||
|
||||
if [ "${os_type}" == 'Ubuntu' ]; then
|
||||
if grep -q "^#.*deb http://mirrors.cloud.aliyuncs.com/ubuntu.*backports" /etc/apt/sources.list; then
|
||||
echo "Add backports deb ..."
|
||||
sudo sed -i 's/^#\(.*deb http:\/\/mirrors.cloud.aliyuncs.com\/ubuntu.*backports.*\)/\1/' /etc/apt/sources.list
|
||||
apt update
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue