remove double slash

This commit is contained in:
Tobias Powalowski 2022-06-11 12:28:38 +02:00
parent 3ca2678698
commit e5f7aace59

View file

@ -97,7 +97,7 @@ _prepare_pacman() {
_create_pacman_conf() {
if [[ -z "${_INSTALL_SOURCE}" ]]; then
echo "Use default pacman.conf ..."
[[ "${2}" == "use_container_config" ]] && _PACMAN_CONF="${1}/${_PACMAN_CONF}"
[[ "${2}" == "use_container_config" ]] && _PACMAN_CONF="${1}${_PACMAN_CONF}"
if ! grep -q archboot_repo "${_PACMAN_CONF}"; then
echo "Adding archboot repository to ${_PACMAN_CONF} ..."
echo "[archboot_repo]" >> "${_PACMAN_CONF}"