mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
move archboot_repo to archboot with adress archboot-repository
This commit is contained in:
parent
3a234faf01
commit
0237778505
1 changed files with 3 additions and 3 deletions
|
@ -98,10 +98,10 @@ _create_pacman_conf() {
|
|||
if [[ -z "${_INSTALL_SOURCE}" ]]; then
|
||||
echo "Use default pacman.conf ..."
|
||||
[[ "${2}" == "use_container_config" ]] && _PACMAN_CONF="${1}${_PACMAN_CONF}"
|
||||
if ! grep -q archboot_repo "${_PACMAN_CONF}"; then
|
||||
if ! grep -qw archboot "${_PACMAN_CONF}"; then
|
||||
echo "Adding archboot repository to ${_PACMAN_CONF} ..."
|
||||
echo "[archboot_repo]" >> "${_PACMAN_CONF}"
|
||||
echo "Server = https://pkgbuild.com/~tpowa/archboot-repo" >> "${_PACMAN_CONF}"
|
||||
echo "[archboot]" >> "${_PACMAN_CONF}"
|
||||
echo "Server = https://pkgbuild.com/~tpowa/archboot-repository" >> "${_PACMAN_CONF}"
|
||||
fi
|
||||
else
|
||||
echo "Use custom pacman.conf ..."
|
||||
|
|
Loading…
Reference in a new issue