Skip to content

Commit 1774062

Browse files
authored
feat(data): use repo.aosc.io/anthon to use redirection service (#621)
Otherwise it will only download from our Hong Kong server.
1 parent 1c3c968 commit 1774062

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data/installer/get-oma.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ You are using a non-LTS Ubuntu release, which is not officially supported!
214214

215215
_install_keyring() {
216216
# Install repository GPG key.
217-
curl -sSf https://repo.aosc.io/pubkeys/repo/oma.gpg | \
217+
curl -sSf https://repo.aosc.io/anthon/pubkeys/repo/oma.gpg | \
218218
gpg --dearmor --yes -o /usr/share/keyrings/oma.gpg
219219

220220
if [ "$?" != '0' ]; then
@@ -230,7 +230,7 @@ _write_sources_list() {
230230
# Common routine, called with $1 as the codename corresponding to a
231231
# compatible distribution repository.
232232
cat > /etc/apt/sources.list.d/oma.list << EOF
233-
deb [signed-by=/usr/share/keyrings/oma.gpg] https://repo.aosc.io/oma ${1} main
233+
deb [signed-by=/usr/share/keyrings/oma.gpg] https://repo.aosc.io/anthon/oma ${1} main
234234
EOF
235235

236236
if [ "$?" != '0' ]; then

0 commit comments

Comments
 (0)