mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix latest container creation
This commit is contained in:
parent
1777636695
commit
a4c379da55
1 changed files with 5 additions and 1 deletions
|
@ -95,7 +95,11 @@ _prepare_pacman() {
|
|||
_create_pacman_conf() {
|
||||
if [[ -z "${_INSTALL_SOURCE}" ]]; then
|
||||
echo "Use default pacman.conf ..."
|
||||
if grep -q archboot /etc/hostname; then
|
||||
_PACMAN_CONF="/etc/pacman.conf"
|
||||
else
|
||||
_PACMAN_CONF="${1}/etc/pacman.conf"
|
||||
fi
|
||||
echo "[archboot_repo]" >> "${_PACMAN_CONF}"
|
||||
echo "Server = https://pkgbuild.com/~tpowa/archboot-repo" >> "${_PACMAN_CONF}"
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue