Changeset 245 for quickinst/quickinst


Ignore:
Timestamp:
21.12.2008 19:43:20 (20 months ago)
Author:
henning
Message:

quickinst: disastrously..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quickinst/quickinst

    r244 r245  
    123123        cp /etc/resolv.conf etc/resolv.conf 
    124124 
    125         [ $addpkgs ] && # TODO source for extra and community 
     125        [ $addpkgs == "" ] && { # TODO source for extra and community 
    126126                echo -e "[core]\nServer = $source" >> /tmp/pacman.conf 
     127                config="--config /tmp/pacman.conf" 
     128        } 
    127129 
    128130        mkdir sys proc dev 2> /dev/null 
    129131 
    130132        [ $on_arch ] && { 
    131                 pacman --noconfirm --config /tmp/pacman.conf \ 
    132                         -r $target -Sfy base $addpkgs || exit 1 
     133                pacman --noconfirm $config -r $target \ 
     134                        -Sfy base $addpkgs || exit 1 
    133135        } || { 
    134136                mount -o bind /dev dev 
     
    137139 
    138140                chroot $target /bin/bash <<EOF 
    139                         pacman --noconfirm --config /tmp/pacman.conf \ 
     141                        pacman --noconfirm $config \ 
    140142                                -Sfy base $addpkgs || exit 1 
    141143EOF 
Note: See TracChangeset for help on using the changeset viewer.