bz2 support

as tbz.
This commit is contained in:
Søren Theilgaard
2022-08-19 14:13:31 +02:00
parent de55a96e9c
commit cd441c88d9

View File

@@ -75,7 +75,7 @@ printlog "Label type: $type" INFO
# MARK: extract info from data
if [ -z "$archiveName" ]; then
case $type in
dmg|pkg|zip|tbz)
dmg|pkg|zip|tbz|bz2)
archiveName="${name}.$type"
;;
pkgInDmg)
@@ -101,7 +101,7 @@ fi
if [ -z "$targetDir" ]; then
case $type in
dmg|zip|tbz|app*)
dmg|zip|tbz|bz2|app*)
targetDir="/Applications"
;;
pkg*)
@@ -282,7 +282,7 @@ case $type in
zip)
installFromZIP
;;
tbz)
tbz|bz2)
installFromTBZ
;;
pkgInDmg)