# HG changeset patch # User Antoine Bodin # Date 1300150597 -3600 # Node ID 068d36bf2a03f8c8667594df97fe4bef8c8cc160 # Parent dcba89d8553d67b4903902a58c375bb04e7b6065 tazwok, configure_tazchroot(): fix undigest support diff -r dcba89d8553d -r 068d36bf2a03 tazwok --- a/tazwok Tue Mar 15 01:44:17 2011 +0100 +++ b/tazwok Tue Mar 15 01:56:37 2011 +0100 @@ -2387,14 +2387,14 @@ ) mkdir -p \$chroot_dir\$LOCALSTATE/undigest/\${LOCAL_REPOSITORY##*/}-incoming echo "\$LOCAL_REPOSITORY/packages-incoming" > \$chroot_dir\$LOCALSTATE/undigest/\${LOCAL_REPOSITORY##*/}-incoming/mirror - $( [ "$undigest" ] || continue - echo ' mkdir -p $chroot_dir$LOCALSTATE/undigest/$SLITAZ_VERSION' - if [ "$ref_USE_ONLINE_PKG" ]; then - echo ' echo "$ref_USE_ONLINE_PKG" > $chroot_dir$LOCALSTATE/undigest/$SLITAZ_VERSION/mirror' - else - echo ' echo "$ref_LOCAL_REPOSITORY/packages" > $chroot_dir$LOCALSTATE/undigest/$SLITAZ_VERSION/mirror' - fi - ) + $( if [ "$undigest" ]; then + echo ' mkdir -p $chroot_dir$LOCALSTATE/undigest/$SLITAZ_VERSION' + if [ "$ref_USE_ONLINE_PKG" ]; then + echo ' echo "$ref_USE_ONLINE_PKG" > $chroot_dir$LOCALSTATE/undigest/$SLITAZ_VERSION/mirror' + else + echo ' echo "$ref_LOCAL_REPOSITORY/packages" > $chroot_dir$LOCALSTATE/undigest/$SLITAZ_VERSION/mirror' + fi + fi ) echo -e "\${LOCAL_REPOSITORY##*/}-incoming\nmain" > \$chroot_dir\$LOCALSTATE/priority mount -o bind /proc \$chroot_dir/proc mount -o bind /sys \$chroot_dir/sys