change pacman.conf to new domain

This commit is contained in:
Tobias Powalowski 2023-05-30 16:11:58 +02:00
parent 704d5107ab
commit 431152e0b4

View file

@ -113,7 +113,7 @@ _create_pacman_conf() {
if ! grep -qw "\[archboot\]" "${_PACMAN_CONF}"; then
echo "Adding archboot repository to ${_PACMAN_CONF}..."
echo "[archboot]" >> "${_PACMAN_CONF}"
echo "Server = https://pkgbuild.com/~tpowa/archboot/pkg" >> "${_PACMAN_CONF}"
echo "Server = https://archboot.com/pkg" >> "${_PACMAN_CONF}"
fi
#shellcheck disable=SC2001
[[ "${2}" == "use_binfmt" ]] && _PACMAN_CONF="$(echo "${_PACMAN_CONF}" | sed -e "s#^${1}##g")"