vim: Update from 8.0.0704 to 8.0.0738
[termux-packages] / packages / debootstrap / functions.patch
1 diff --git a/functions b/functions
2 index e22d4a0..ce731b6 100644
3 --- a/functions
4 +++ b/functions
5 @@ -883,7 +883,7 @@ extract_dpkg_deb_field () {
6 extract_dpkg_deb_data () {
7 local pkg="$1"
8
9 - dpkg-deb --fsys-tarfile "$pkg" | tar $EXTRACT_DEB_TAR_OPTIONS -xf -
10 + dpkg-deb --fsys-tarfile "$pkg" | proot --link2symlink tar $EXTRACT_DEB_TAR_OPTIONS -xf -
11 }
12
13 # Raw .deb extractors
14 @@ -921,7 +921,7 @@ extract_ar_deb_data () {
15 esac
16
17 if type $cat_cmd >/dev/null 2>&1; then
18 - ar -p "$pkg" "$tarball" | $cat_cmd | tar $EXTRACT_DEB_TAR_OPTIONS -xf -
19 + ar -p "$pkg" "$tarball" | $cat_cmd | proot --link2symlink tar $EXTRACT_DEB_TAR_OPTIONS -xf -
20 else
21 error 1 UNPACKCMDUNVL "Extracting %s requires the %s command, which is not available" "$pkg" "$cat_cmd"
22 fi
23 @@ -1139,7 +1139,6 @@ setup_devices () {
24 hurd*)
25 ;;
26 *)
27 - setup_devices_simple
28 ;;
29 esac
30 }