From 4e9afd7e5d6e415d791b15c0231b591e326e5b1b Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 2 Jun 2024 16:29:41 +0200 Subject: [PATCH] arch,readme --- cd.sh | 3 +++ readme.md | 30 +++++++++++++++--------------- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/cd.sh b/cd.sh index fa36dea..659109d 100644 --- a/cd.sh +++ b/cd.sh @@ -252,6 +252,9 @@ Dir::Etc::SourceParts \"\"; "${CD_OS_ALPINE}") [ "${CD_URL_ALPINE}" ] && CD_URL_CHOSEN="${CD_URL_ALPINE}" ;; + "${CD_OS_ARCH}") + [ "${CD_URL_ARCH}" ] && CD_URL_CHOSEN="${CD_URL_ARCH}" + ;; "${CD_OS_DEBIAN}") [ "${CD_URL_DEBIAN}" ] && CD_URL_CHOSEN="${CD_URL_DEBIAN}" \ || CD_URL_CHOSEN="https://deb.debian.org/debian" diff --git a/readme.md b/readme.md index a061e7f..3b607dd 100644 --- a/readme.md +++ b/readme.md @@ -37,21 +37,21 @@ from various CA, CI, OCI / OS. ## How -| Variable | Description | Default | -|:--------------|:------------------------|:--------| -| CD_CA_n | Numbered CA certificate | | -| CD_DNS | Space separated servers | | -| CD_GIT_CHILD | Child Git repository | cd | -| CD_GIT_PARENT | Parent Git repository | rwx | -| CD_SSH_HOSTS | domain.tld ssh-type pub | | -| CD_SSH_KEY | SSH private key | | -| CD_URL_ALMA | Alma repository URL | | -| CD_URL_ALPINE | Alpine repository URL | | -| CD_URL_ARCH | Arch repository URL | | -| CD_URL_DEBIAN | Debian repository URL | | -| CD_URL_FEDORA | Fedora repository URL | | -| CD_URL_ROCKY | Rocky repository URL | | -| CD_URL_UBUNTU | Ubuntu repository URL | | +| Variable | Description | Default | +|:--------------|:------------------------|:--------------------------------| +| CD_CA_n | Numbered CA certificate | | +| CD_DNS | Space separated servers | 9.9.9.9 | +| CD_GIT_CHILD | Child Git repository | cd | +| CD_GIT_PARENT | Parent Git repository | rwx | +| CD_SSH_HOSTS | domain.tld ssh-type pub | | +| CD_SSH_KEY | SSH private key | | +| CD_URL_ALMA | Alma repository URL | https://repo.almalinux.org | +| CD_URL_ALPINE | Alpine repository URL | https://dl-cdn.alpinelinux.org | +| CD_URL_ARCH | Arch repository URL | https://geo.mirror.pkgbuild.com | +| CD_URL_DEBIAN | Debian repository URL | https://deb.debian.org | +| CD_URL_FEDORA | Fedora repository URL | https://rpmfind.net | +| CD_URL_ROCKY | Rocky repository URL | https://dl.rockylinux.org | +| CD_URL_UBUNTU | Ubuntu repository URL | https://ubuntu.mirrors.ovh.net | ## HTTPS & Python