✨ Added counterpart to xtract, xpress
This commit is contained in:
parent
f88adb2691
commit
f71ca38487
2 changed files with 72 additions and 0 deletions
|
|
@ -52,6 +52,11 @@ if [ "${extension}" == "tgz" ] ; then
|
|||
fi
|
||||
done
|
||||
|
||||
if [ $missingdependencies -gt 0 ] ; then
|
||||
echo "${txtred}Please install needed dependencies${txtwhite}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "${txtblue}decompressing .tgz...${txtyellow}"
|
||||
# main extraction method
|
||||
tar zxvf "${1}" &> /dev/null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue