mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
Compare commits
1 Commits
f794b3d622
...
b2fd92f46e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b2fd92f46e |
@ -58,22 +58,7 @@ cmd extract ${{
|
|||||||
printf "%s\n\t" "$fx"
|
printf "%s\n\t" "$fx"
|
||||||
printf "extract?[y/N]"
|
printf "extract?[y/N]"
|
||||||
read ans
|
read ans
|
||||||
[ $ans = "y" ] && {
|
[ $ans = "y" ] && aunpack $fx
|
||||||
case $fx in
|
|
||||||
*.tar.bz2) tar xjf $fx ;;
|
|
||||||
*.tar.gz) tar xzf $fx ;;
|
|
||||||
*.bz2) bunzip2 $fx ;;
|
|
||||||
*.rar) unrar e $fx ;;
|
|
||||||
*.gz) gunzip $fx ;;
|
|
||||||
*.tar) tar xf $fx ;;
|
|
||||||
*.tbz2) tar xjf $fx ;;
|
|
||||||
*.tgz) tar xzf $fx ;;
|
|
||||||
*.zip) unzip $fx ;;
|
|
||||||
*.Z) uncompress $fx ;;
|
|
||||||
*.7z) 7z x $fx ;;
|
|
||||||
*.tar.xz) tar xf $fx ;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
}}
|
}}
|
||||||
|
|
||||||
cmd delete ${{
|
cmd delete ${{
|
||||||
|
|||||||
@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
"$TERMINAL" -e "$@"
|
|
||||||
Loading…
x
Reference in New Issue
Block a user