Package: debootstrap
Version: 0.3.3
Followup-For: Bug #390647

attached patch based on the information provided in this bug report,
though it handles broken symlinks by skipping those files, which is
maybe not ideal.

live well,
  vagrant
--- functions.orig      2006-10-09 09:14:50.000000000 -0400
+++ functions   2006-10-09 09:15:41.000000000 -0400
@@ -716,7 +716,7 @@
 
 conditional_cp () {
   if [ ! -e "$2/$1" ]; then
-    if [ -L "$1" ]; then
+    if [ -L "$1" ] && [ -e "$1" ]; then
       cat "$1" >"$2/$1"
     elif [ -e "$1" ]; then
       cp -a "$1" "$2/$1"

Reply via email to