cpio applet, and changes to associated code
diff --git a/dpkg_deb.c b/dpkg_deb.c
index 77172b0..b1cbb1b 100644
--- a/dpkg_deb.c
+++ b/dpkg_deb.c
@@ -26,7 +26,7 @@
char *output_buffer = NULL;
int opt = 0;
int arg_type = 0;
- int deb_extract_funct = extract_create_dirs;
+ int deb_extract_funct = extract_create_dirs | extract_unconditional;
const int arg_type_prefix = 1;
const int arg_type_field = 2;
@@ -92,6 +92,7 @@
strcat(prefix, "/");
}
}
+ mkdir(prefix, 0777);
}
if (arg_type == arg_type_filename) {