Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Account for installer.app being staged in a different location. #82

Closed
ryangball opened this issue Nov 7, 2018 · 0 comments
Closed

Comments

@ryangball
Copy link
Contributor

If the installer.app is staged in a different directory (like /private/var) then in the jamfHelper dialogs the full path of the installer is displayed rather than just the "Install macOS High Sierra" part. To fix this you could change this line:
macOSname=$(/bin/echo "$OSInstaller" | /usr/bin/sed 's/^\/Applications\/Install \(.*\)\.app$/\1/')
to
macOSname=$(echo ${OSInstaller##*/} | /usr/bin/sed -e 's/Install \(.*\).app/\1/')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant