diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-05-22 12:47:54 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-05-22 12:47:54 -0300 |
commit | 51bfa6b04e13bdc27d271b7be510922f9d1716a9 (patch) | |
tree | 288c8b5955f797022dd93f7a52c5119b58222b8b /src/core | |
parent | c91c0006e000f9951f0b80b92b8f00584c0317d6 (diff) |
Added [libre] aside [core]
Diffstat (limited to 'src/core')
-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 |