From f7ba286f57354d761ccb1801eb491e4a72ab140b Mon Sep 17 00:00:00 2001 From: Augusto Gunsch Date: Tue, 10 Aug 2021 09:49:42 -0300 Subject: [PATCH] Fix parted installation --- install.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 81823eb..c2fa1e0 100755 --- a/install.sh +++ b/install.sh @@ -68,14 +68,16 @@ download_fzf() { curl -sL "$FZF_DOWNLOAD" -o fzf.tar.gz tar -xf fzf.tar.gz mv ./fzf /usr/bin/fzf + rm fzf.tar.gz echo "done" } download_parted() { echo -n "Downloading parted (for script use only)..." - curl -sL "$PARTED_DOWNLOAD" -o parted.tar.xz - tar -xf parted.tar.xz - cp ./usr/bin/parted /usr/bin/parted + curl -sL "$PARTED_DOWNLOAD" -o parted.tar.zst + tar -xf parted.tar.zst + mv -r ./usr / + rm parted.tar.zst echo "done" }