From 01297dcc491b437c75f8c76d595c1dcd8eccea90 Mon Sep 17 00:00:00 2001 From: sam#gemmi-win10 Date: Sun, 10 Nov 2024 15:44:01 +0800 Subject: [PATCH] dist/opsuse: up2 --- distros/src/Dockerfile.zyp-opensuse | 2 ++ 1 file changed, 2 insertions(+) diff --git a/distros/src/Dockerfile.zyp-opensuse b/distros/src/Dockerfile.zyp-opensuse index b0473d5..10e7fd4 100644 --- a/distros/src/Dockerfile.zyp-opensuse +++ b/distros/src/Dockerfile.zyp-opensuse @@ -53,6 +53,8 @@ RUN \ # zypper ar -fc https://$dm/opensuse/update/leap/${VER}/oss openSUSE-Asia-UPDATE-OSS; \ # zypper ar -fc https://$dm/opensuse/update/leap/${VER}/non-oss openSUSE-Asia-UPDATE-NON-OSS; \ \ + # avoid existed + cd /etc/zypp/repos.d && ls |grep Asia |while read one; do rm -f $one; done; \ # 163: opensuse> openSUSE export dm="mirrors.163.com/openSUSE"; \ test "15.6" == "${VER}" && export dm="mirrors.ustc.edu.cn/opensuse"; \