Skip to main content
Question

testing application with parameters in following script

  • January 25, 2021
  • 1 reply
  • 23 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+38
  • Hall of Fame
  • 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.