add aunpack support

This commit is contained in:
dave 2009-04-17 14:43:46 -05:00
parent a93da1c695
commit 1a76b1cd90

View file

@ -20,6 +20,11 @@ mkcd ()
extract ()
{
if ( command -v aunpack > /dev/null 2>&1 ) ; then
aunpack "${1}"
return
fi
if [ ! -f "$1" ] ; then
echo "The file ("$1") does not exist!"
return