インストール時にスクリプトに渡される引数
Modifying an Installation With Scripts
- $1: the full path to the installation package; for example:
- /Volumes/Projects/Testing/Simple_Carbon_App.pkg
- $2: the full path to the installation destination; for example:
- /Applications
- $3: the mountpoint of the destination volume; for example:
- / or /Volumes/External_Drive
- $4: the root directory for the current System folder:
- /