Skip to main content
Question

testing application with parameters in following script

  • January 25, 2021
  • 1 reply
  • 0 views

Forum|alt.badge.img+4

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

1 reply

stevewood
Forum|alt.badge.img+35
  • Employee
  • 1797 replies
  • January 25, 2021

@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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings