use different files for 'bcap' and 'ccap' for now
[util-vserver.git] / util-vserver / scripts / vserver-build.debootstrap
index 4e36d25..52dcd7a 100644 (file)
@@ -54,7 +54,7 @@ function findDebootstrap
         workdir=$dir
         dst=$dir/debootstrap.deb
         
-        findFile DEBOOTSTRAP_URI "$CONFDIR"/.defaults/debootstrap.uri "$PKGLIBDEFAULTDIR"/debootstrap.uri
+        findFile DEBOOTSTRAP_URI "$CONFDIR"/.defaults/apps/debootstrap/uri "$PKGLIBDEFAULTDIR"/debootstrap.uri
         read tmp <$DEBOOTSTRAP_URI
         case "$tmp" in
        (/*)                    ln -s "$tmp" "$dst";;
@@ -88,7 +88,7 @@ while true; do
        -m)             mirror=$2;       shift;;
        --debug)        set -x;;
        --)             shift; break ;;
-       *)              echo "vserver-build.skeleton: internal error: unrecognized option '$1'"
+       *)              echo "vserver-build.skeleton: internal error: unrecognized option '$1'" >&2
                        exit 1
                        ;;
     esac