tazwok rev 448 4.3
tazwok, configure_tazchroot(): fix undigest support
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Mar 15 01:56:37 2011 +0100 (2011-03-15) |
parents | dcba89d8553d |
children | 04eb5fb6c9a3 |
files | tazwok |
line diff
1.1 --- a/tazwok Tue Mar 15 01:44:17 2011 +0100 1.2 +++ b/tazwok Tue Mar 15 01:56:37 2011 +0100 1.3 @@ -2387,14 +2387,14 @@ 1.4 ) 1.5 mkdir -p \$chroot_dir\$LOCALSTATE/undigest/\${LOCAL_REPOSITORY##*/}-incoming 1.6 echo "\$LOCAL_REPOSITORY/packages-incoming" > \$chroot_dir\$LOCALSTATE/undigest/\${LOCAL_REPOSITORY##*/}-incoming/mirror 1.7 - $( [ "$undigest" ] || continue 1.8 - echo ' mkdir -p $chroot_dir$LOCALSTATE/undigest/$SLITAZ_VERSION' 1.9 - if [ "$ref_USE_ONLINE_PKG" ]; then 1.10 - echo ' echo "$ref_USE_ONLINE_PKG" > $chroot_dir$LOCALSTATE/undigest/$SLITAZ_VERSION/mirror' 1.11 - else 1.12 - echo ' echo "$ref_LOCAL_REPOSITORY/packages" > $chroot_dir$LOCALSTATE/undigest/$SLITAZ_VERSION/mirror' 1.13 - fi 1.14 - ) 1.15 + $( if [ "$undigest" ]; then 1.16 + echo ' mkdir -p $chroot_dir$LOCALSTATE/undigest/$SLITAZ_VERSION' 1.17 + if [ "$ref_USE_ONLINE_PKG" ]; then 1.18 + echo ' echo "$ref_USE_ONLINE_PKG" > $chroot_dir$LOCALSTATE/undigest/$SLITAZ_VERSION/mirror' 1.19 + else 1.20 + echo ' echo "$ref_LOCAL_REPOSITORY/packages" > $chroot_dir$LOCALSTATE/undigest/$SLITAZ_VERSION/mirror' 1.21 + fi 1.22 + fi ) 1.23 echo -e "\${LOCAL_REPOSITORY##*/}-incoming\nmain" > \$chroot_dir\$LOCALSTATE/priority 1.24 mount -o bind /proc \$chroot_dir/proc 1.25 mount -o bind /sys \$chroot_dir/sys