diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/libs/lib-pacman.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/libs/lib-pacman.sh b/src/core/libs/lib-pacman.sh index bfd307c..495c545 100644 --- a/src/core/libs/lib-pacman.sh +++ b/src/core/libs/lib-pacman.sh @@ -32,7 +32,7 @@ target_prepare_pacman() { [ "$var_PKG_SOURCE_TYPE" = "cd" ] && local serverurl="${var_FILE_URL}" [ "$var_PKG_SOURCE_TYPE" = "net" ] && local serverurl="${var_SYNC_URL}" - [ -z "$1" ] && repos=core + [ -z "$1" ] && repos="libre core" [ -n "$1" ] && repos="$@" # Setup a pacman.conf in /tmp cat << EOF > /tmp/pacman.conf @@ -45,7 +45,7 @@ EOF for repo in $repos do #TODO: this is a VERY, VERY dirty hack. we fall back to net for any non-core repo because we only have core on the CD. also user maybe didn't pick a mirror yet - if [ "$repo" != core ] + if [ "$repo" != core ] && [ "$repo" != libre ] then add_pacman_repo target ${repo} "Include = $var_MIRRORLIST" || return 1 else |