OSXI packaging support

This commit is contained in:
Robin Gareus 2020-12-12 22:02:26 +01:00
parent 35c9b08154
commit cc8f32a66a
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -825,7 +825,7 @@ cp -vi ${DMGBACKGROUND}.png "${MNTPATH}/.background/dmgbg.png"
echo "setting DMG background ..."
if test $(sw_vers -productVersion | cut -d '.' -f 2) -lt 9; then
if test $(sw_vers -productVersion | cut -d '.' -f 1) -lt 11 -a $(sw_vers -productVersion | cut -d '.' -f 2) -lt 9; then
# OSX ..10.8.X
DISKNAME=${VOLNAME}
else