logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

extract.sh (174B)


  1. file=$1
  2. shift
  3. case $file in
  4. *.tar.gz|*.tgz) tool=gzip ;;
  5. *.tar.bz2) tool=bzip2 ;;
  6. *.tar.xz) tool=xz ;;
  7. *) exit 0
  8. esac
  9. "$tool" -d -c "$file" | "$PAX" -r "$@"