pack : update colors.
This commit is contained in:
parent
457c9eed57
commit
9200a614b6
|
@ -102,7 +102,7 @@ unpack()
|
|||
_unpack_iso "${target}"
|
||||
;;
|
||||
*)
|
||||
echo "${target}: format not supported."
|
||||
echo -e "${color_yellow}${target}: format not supported.${color_default}"
|
||||
return 2
|
||||
;;
|
||||
esac
|
||||
|
@ -163,7 +163,7 @@ _unpack_zip()
|
|||
# unpack 7z archive.
|
||||
_unpack_7z()
|
||||
{
|
||||
7z x "${@}"
|
||||
7za x "${@}"
|
||||
}
|
||||
|
||||
# unpack tgz archive.
|
||||
|
@ -187,7 +187,7 @@ _unpack_tar()
|
|||
# unpack iso image.
|
||||
_unpack_iso()
|
||||
{
|
||||
7z x "${@}"
|
||||
7za x "${@}"
|
||||
}
|
||||
|
||||
# export functions.
|
||||
|
|
Reference in a new issue