From e012d73e66b99eb8de5c2c69a220510eda3a2641 Mon Sep 17 00:00:00 2001 From: Guo Yunhe Date: Wed, 23 Oct 2024 21:31:37 +0800 Subject: [PATCH] fix doblue slash in packman repo url --- opi/__init__.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/opi/__init__.py b/opi/__init__.py index b590a12..70b2e5a 100644 --- a/opi/__init__.py +++ b/opi/__init__.py @@ -118,11 +118,11 @@ def add_packman_repo(dup=False): else: print("Adding packman repo") packman_mirrors = { - "ftp.fau.de - University of Erlangen, Germany - 1h sync": "https://ftp.fau.de/packman/", - "ftp.halifax.rwth-aachen.de - University of Aachen, Germany - 1h sync": "https://ftp.halifax.rwth-aachen.de/packman/", - "ftp.gwdg.de - University of Göttingen, Germany - 4h sync": "https://ftp.gwdg.de/pub/linux/misc/packman/", - "mirror.karneval.cz - TES Media, Czech Republic - 1h sync": "https://mirror.karneval.cz/pub/linux/packman/", - "mirrors.aliyun.com - Alibaba Cloud, China - 24h sync": "https://mirrors.aliyun.com/packman/", + "ftp.fau.de - University of Erlangen, Germany - 1h sync": "https://ftp.fau.de/packman", + "ftp.halifax.rwth-aachen.de - University of Aachen, Germany - 1h sync": "https://ftp.halifax.rwth-aachen.de/packman", + "ftp.gwdg.de - University of Göttingen, Germany - 4h sync": "https://ftp.gwdg.de/pub/linux/misc/packman", + "mirror.karneval.cz - TES Media, Czech Republic - 1h sync": "https://mirror.karneval.cz/pub/linux/packman", + "mirrors.aliyun.com - Alibaba Cloud, China - 24h sync": "https://mirrors.aliyun.com/packman", } mirror = ask_for_option(list(packman_mirrors.keys()), 'Pick a mirror near your location (0 to quit):') mirror = packman_mirrors[mirror]