Install All Packages in a Folder

I want to install all packages in a folder, and i’m using the command line installer to do it so I dont have to click agree on each one… here’s what i have so far…:


[This script was automatically tagged for color coded syntax by Convert Script to Markup Code

Help? Suggestions? Easier way?

Learned some new stuff, made a few changes. It tells me I have the wrong password, but I don’t. Does I need to be in the sudoers file?


[This script was automatically tagged for color coded syntax by Convert Script to Markup Code]