Last active
April 24, 2019 06:34
-
-
Save timsutton/0fbf631bc2670325aa9e5f12f5a73e26 to your computer and use it in GitHub Desktop.
Repackage the Sibelius 7.5 sounds into a standard package
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -eu | |
# | |
# Run the Sibelius 7.5 sounds installer, which will unpack sample data as well as some metadata, all into | |
# a 'Sibelius Sounds' directory. SOUNDS_SRC in this script points to this directory by default, but | |
# alternatively one could back up the Sibelius Sounds directory to a server and then change SOUNDS_SRC to | |
# that location. | |
# | |
# Note that 'Sibelius Sounds' is the top-level directory, and it contains another directory within with | |
# the same name (alongside 'Libraries'). | |
# | |
# No additional configuration of Sibelius 8 seems to be necessary to make it aware of this sounds package. | |
VERSION=7.5 | |
NAME=SibeliusSounds75 | |
REV_DOMAIN=org.great.my | |
SOUNDS_SRC='/Library/Application Support/Avid/Sibelius Sounds' | |
rm -rf pkgroot && mkdir -p "pkgroot/Library/Application Support/Avid" | |
cp -Rv "$SOUNDS_SRC" "pkgroot/Library/Application Support/Avid" | |
chmod -R 755 "pkgroot/Library/Application Support/Avid/Sibelius Sounds" | |
pkgbuild \ | |
--root pkgroot \ | |
--version $VERSION \ | |
--identifier "$REV_DOMAIN.$NAME" \ | |
"$NAME-$VERSION.pkg" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment