Skip to main content

Where I am going wrong in testing application with parameters in following script ?



!/bin/bash



source="/Library/Application Support/JAMF/Waiting Room/abc.app"
target="/Library/Applications/"
mv "$source" "$target"
installer -pkg "/Library/Applications/" -target --quiet --update No --analytics No

@user-sNVOuZbYdW



Can you re-post your script and make sure you use the code formatting when you post?





But looking at your installer call, it doesn't appear that you're providing a package nor a target. What exactly are you attempting to do? You wouldn't be able to use the .app file with the installer command, so it's not really clear.


Reply