[packages] debootstrap: move package to the admin directory
[packages.git] / admin / debootstrap / patches / 00-no_dpkg_deb.diff
diff --git a/admin/debootstrap/patches/00-no_dpkg_deb.diff b/admin/debootstrap/patches/00-no_dpkg_deb.diff
new file mode 100644 (file)
index 0000000..f9ed3f1
--- /dev/null
@@ -0,0 +1,14 @@
+--- debootstrap-1.0.23/usr/share/debootstrap/functions.orig    2010-06-20 23:46:12.000000000 +0200
++++ debootstrap-1.0.23/usr/share/debootstrap/functions 2010-06-20 23:46:53.000000000 +0200
+@@ -785,8 +785,9 @@
+       if [ -n "$EXTRACTOR_OVERRIDE" ]; then
+               extractor="$EXTRACTOR_OVERRIDE"
+-      elif type dpkg-deb >/dev/null 2>&1; then
+-              extractor="dpkg-deb"
++#     busybox's dpkg-deb is not suitable for this script
++#     elif type dpkg-deb >/dev/null 2>&1; then
++#             extractor="dpkg-deb"
+       else
+               extractor="ar"
+       fi