mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
bz2 support
as tbz.
This commit is contained in:
@@ -75,7 +75,7 @@ printlog "Label type: $type" INFO
|
|||||||
# MARK: extract info from data
|
# MARK: extract info from data
|
||||||
if [ -z "$archiveName" ]; then
|
if [ -z "$archiveName" ]; then
|
||||||
case $type in
|
case $type in
|
||||||
dmg|pkg|zip|tbz)
|
dmg|pkg|zip|tbz|bz2)
|
||||||
archiveName="${name}.$type"
|
archiveName="${name}.$type"
|
||||||
;;
|
;;
|
||||||
pkgInDmg)
|
pkgInDmg)
|
||||||
@@ -101,7 +101,7 @@ fi
|
|||||||
|
|
||||||
if [ -z "$targetDir" ]; then
|
if [ -z "$targetDir" ]; then
|
||||||
case $type in
|
case $type in
|
||||||
dmg|zip|tbz|app*)
|
dmg|zip|tbz|bz2|app*)
|
||||||
targetDir="/Applications"
|
targetDir="/Applications"
|
||||||
;;
|
;;
|
||||||
pkg*)
|
pkg*)
|
||||||
@@ -282,7 +282,7 @@ case $type in
|
|||||||
zip)
|
zip)
|
||||||
installFromZIP
|
installFromZIP
|
||||||
;;
|
;;
|
||||||
tbz)
|
tbz|bz2)
|
||||||
installFromTBZ
|
installFromTBZ
|
||||||
;;
|
;;
|
||||||
pkgInDmg)
|
pkgInDmg)
|
||||||
|
|||||||
Reference in New Issue
Block a user