Skip to content

Commit 5bb8bcc

Browse files
author
Daniel Hansson
authored
add apt-select
1 parent b365c8d commit 5bb8bcc

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

wordpress_install.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,18 @@ else
135135
echo "Network OK."
136136
fi
137137

138+
# Check where the best mirrors are and update
139+
echo "Locating the best mirrors..."
140+
apt update -q2
141+
apt install python-pip -y
142+
pip install \
143+
--upgrade pip \
144+
apt-select
145+
apt-select
146+
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup && \
147+
sudo mv sources.list /etc/apt/
148+
clear
149+
138150
# Update system
139151
apt update -q2
140152

0 commit comments

Comments
 (0)