From 431ff8664752a37f33b341fe046deee589f74689 Mon Sep 17 00:00:00 2001 From: Aiden McClelland Date: Tue, 8 Dec 2020 14:53:25 -0700 Subject: [PATCH] appmgr: compat unpack_in from tokio-tar --- appmgr/src/install.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appmgr/src/install.rs b/appmgr/src/install.rs index df86afb3c..c6fde752e 100644 --- a/appmgr/src/install.rs +++ b/appmgr/src/install.rs @@ -373,7 +373,7 @@ pub async fn install_v0( .with_code(crate::error::FILESYSTEM_ERROR)?; } } - src.unpack_in(&dst_path).await?; + src.unpack_in(&dst_path).compat().await?; if src.header().entry_type().is_dir() { loop { let mut file = entries @@ -387,7 +387,7 @@ pub async fn install_v0( { break; } else { - file.unpack_in(&dst_path).await?; + file.unpack_in(&dst_path).compat().await?; } } }