From 0a6982f1e11a2a528ea110def6fc10da6574a595 Mon Sep 17 00:00:00 2001 From: Hekuran Date: Thu, 19 Aug 2021 13:56:44 +0200 Subject: [PATCH 1/2] update `ext` script (#986) Arch & Artix already have the `libarchive` pkg, which contains `bsdtar`. So lets just use it, since its superior, faster, it also has easier syntax, and it auto-detects the compression. btw the .tar.zst was wrong anyhow, so if u wont merge this, dont forget to fix that. from the manual: ``` -I, --use-compress-program=COMMAND Filter data through COMMAND. It must accept the -d option, for decompression. The argument can contain command line options. ..... --zstd Filter the archive through zstd(1). ``` --- .local/bin/ext | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.local/bin/ext b/.local/bin/ext index 927fb5b..6950ff6 100755 --- a/.local/bin/ext +++ b/.local/bin/ext @@ -24,15 +24,15 @@ fi if [ -f "$archive" ] ; then case "$archive" in - *.tar.bz2|*.tbz2) tar xvjf "$archive" ;; - *.tar.xz) tar -xf "$archive" ;; - *.tar.gz|*.tgz) tar xvzf "$archive" ;; - *.tar.zst) tar -I zstd -xf "$archive" ;; + *.tar.bz2|*.tbz2) bsdtar -xf "$archive" ;; + *.tar.xz) bsdtar -xf "$archive" ;; + *.tar.gz|*.tgz) bsdtar -xf "$archive" ;; + *.tar.zst) bsdtar -xf "$archive" ;; + *.tar) bsdtar -xf "$archive" ;; *.lzma) unlzma "$archive" ;; *.bz2) bunzip2 "$archive" ;; *.rar) unrar x -ad "$archive" ;; *.gz) gunzip "$archive" ;; - *.tar) tar xvf "$archive" ;; *.zip) unzip "$archive" ;; *.Z) uncompress "$archive" ;; *.7z) 7z x "$archive" ;; From 2eb02268b6054d99e5f8012e07f4c5d83e95e94f Mon Sep 17 00:00:00 2001 From: krisdoodle45 <86745210+krisdoodle45@users.noreply.github.com> Date: Tue, 24 Aug 2021 19:09:07 +0000 Subject: [PATCH 2/2] Changed paru to yay due to new LARBS changes (#987) --- .local/bin/statusbar/sb-popupgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/statusbar/sb-popupgrade b/.local/bin/statusbar/sb-popupgrade index dd5322f..29d6230 100755 --- a/.local/bin/statusbar/sb-popupgrade +++ b/.local/bin/statusbar/sb-popupgrade @@ -2,7 +2,7 @@ printf "Beginning upgrade.\\n" -paru -Syu +yay -Syu pkill -RTMIN+8 "${STATUSBAR:-dwmblocks}" printf "\\nUpgrade complete.\\nPress to exit window.\\n\\n"