mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
change pacman.conf to new domain
This commit is contained in:
parent
704d5107ab
commit
431152e0b4
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ _create_pacman_conf() {
|
||||||
if ! grep -qw "\[archboot\]" "${_PACMAN_CONF}"; then
|
if ! grep -qw "\[archboot\]" "${_PACMAN_CONF}"; then
|
||||||
echo "Adding archboot repository to ${_PACMAN_CONF}..."
|
echo "Adding archboot repository to ${_PACMAN_CONF}..."
|
||||||
echo "[archboot]" >> "${_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
|
fi
|
||||||
#shellcheck disable=SC2001
|
#shellcheck disable=SC2001
|
||||||
[[ "${2}" == "use_binfmt" ]] && _PACMAN_CONF="$(echo "${_PACMAN_CONF}" | sed -e "s#^${1}##g")"
|
[[ "${2}" == "use_binfmt" ]] && _PACMAN_CONF="$(echo "${_PACMAN_CONF}" | sed -e "s#^${1}##g")"
|
||||||
|
|
Loading…
Reference in a new issue