mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
fix local container creation
This commit is contained in:
parent
286e313bb0
commit
7866919055
1 changed files with 0 additions and 5 deletions
|
@ -95,11 +95,6 @@ _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
|
||||
if ! grep -q archboot_repo "${_PACMAN_CONF}"; then
|
||||
echo "Adding archboot repository to ${_PACMAN_CONF} ..."
|
||||
echo "[archboot_repo]" >> "${_PACMAN_CONF}"
|
||||
|
|
Loading…
Reference in a new issue