summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions b/functions
index f633f73..60aea99 100644
--- a/functions
+++ b/functions
@@ -821,7 +821,7 @@ extract_dpkg_deb_field () {
extract_dpkg_deb_data () {
local pkg="$1"
- dpkg-deb --fsys-tarfile "$pkg" | tar -xf -
+ dpkg-deb --fsys-tarfile "$pkg" | tar -kxf -
}
# Raw .deb extractors
@@ -859,7 +859,7 @@ extract_ar_deb_data () {
esac
if type $cat_cmd >/dev/null 2>&1; then
- ar -p "$pkg" "$tarball" | $cat_cmd | tar -xf -
+ ar -p "$pkg" "$tarball" | $cat_cmd | tar -kxf -
else
error 1 UNPACKCMDUNVL "Extracting %s requires the %s command, which is not available" "$pkg" "$cat_cmd"
fi