Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/packages.py
diff options
context:
space:
mode:
authorGiancarlo Razzolini <grazzolini@archlinux.org>2021-01-22 13:34:44 -0300
committerGiancarlo Razzolini <grazzolini@archlinux.org>2021-01-22 13:34:44 -0300
commitf48e5d59c68ffc0882c3b95b7d77af080c1aef9e (patch)
treefcbbc8baa2a47fc3c0939c08dc54599c68ea3e60 /archinstall/lib/packages.py
parent10131537448e96237a48a399370890331c7b0319 (diff)
Change Arch Linux site URL's
Recently Arch Linux shed the www portion of its site. The links still work, but it's a 301 redirection to archlinux.org. Changed all the URL's still pointing to www.archlinux.org to avoid the unnecessary redirection, since on browsers the 301 is usually saved and respected, but command line tools line wget or python might not save this and always go through the redirect.
Diffstat (limited to 'archinstall/lib/packages.py')
-rw-r--r--archinstall/lib/packages.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/lib/packages.py b/archinstall/lib/packages.py
index 03bb2154..4f6b6c61 100644
--- a/archinstall/lib/packages.py
+++ b/archinstall/lib/packages.py
@@ -2,8 +2,8 @@ import urllib.request, urllib.parse
import ssl, json
from .exceptions import *
-BASE_URL = 'https://www.archlinux.org/packages/search/json/?name={package}'
-BASE_GROUP_URL = 'https://www.archlinux.org/groups/x86_64/{group}/'
+BASE_URL = 'https://archlinux.org/packages/search/json/?name={package}'
+BASE_GROUP_URL = 'https://archlinux.org/groups/x86_64/{group}/'
def find_group(name):
ssl_context = ssl.create_default_context()