Merge branch 'master' of github.com:LukeSmithxyz/voidrice

This commit is contained in:
Luke Smith 2021-08-25 08:03:03 -04:00
commit 645058d1b5
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252
2 changed files with 6 additions and 6 deletions

View file

@ -24,15 +24,15 @@ fi
if [ -f "$archive" ] ; then if [ -f "$archive" ] ; then
case "$archive" in case "$archive" in
*.tar.bz2|*.tbz2) tar xvjf "$archive" ;; *.tar.bz2|*.tbz2) bsdtar -xf "$archive" ;;
*.tar.xz) tar -xf "$archive" ;; *.tar.xz) bsdtar -xf "$archive" ;;
*.tar.gz|*.tgz) tar xvzf "$archive" ;; *.tar.gz|*.tgz) bsdtar -xf "$archive" ;;
*.tar.zst) tar -I zstd -xf "$archive" ;; *.tar.zst) bsdtar -xf "$archive" ;;
*.tar) bsdtar -xf "$archive" ;;
*.lzma) unlzma "$archive" ;; *.lzma) unlzma "$archive" ;;
*.bz2) bunzip2 "$archive" ;; *.bz2) bunzip2 "$archive" ;;
*.rar) unrar x -ad "$archive" ;; *.rar) unrar x -ad "$archive" ;;
*.gz) gunzip "$archive" ;; *.gz) gunzip "$archive" ;;
*.tar) tar xvf "$archive" ;;
*.zip) unzip "$archive" ;; *.zip) unzip "$archive" ;;
*.Z) uncompress "$archive" ;; *.Z) uncompress "$archive" ;;
*.7z) 7z x "$archive" ;; *.7z) 7z x "$archive" ;;

View file

@ -2,7 +2,7 @@
printf "Beginning upgrade.\\n" printf "Beginning upgrade.\\n"
paru -Syu yay -Syu
pkill -RTMIN+8 "${STATUSBAR:-dwmblocks}" pkill -RTMIN+8 "${STATUSBAR:-dwmblocks}"
printf "\\nUpgrade complete.\\nPress <Enter> to exit window.\\n\\n" printf "\\nUpgrade complete.\\nPress <Enter> to exit window.\\n\\n"