Skip to content

Simplify Company Portal PSSO installer#269

Open
theneiljohnson wants to merge 1 commit into
microsoft:masterfrom
theneiljohnson:cp-psso-simplify
Open

Simplify Company Portal PSSO installer#269
theneiljohnson wants to merge 1 commit into
microsoft:masterfrom
theneiljohnson:cp-psso-simplify

Conversation

@theneiljohnson
Copy link
Copy Markdown
Collaborator

Simplifies macOS/Apps/Company Portal/installCompanyPortalPSSO.zsh:

  • Remove MAU download/install — no longer required for the PSSO Setup Assistant flow.
  • Inline the helper functions (downloadPKG, installPKG, startLog, cleanup) as straight commands.
  • Use set -e so any failure (curl, installer) surfaces a non-zero exit code automatically, replacing manual || exit 1 checks.
  • Drop the manual file ... | grep xar PKG validation (installer already rejects non-PKG input).
  • Drop the decorative banner echoes.

Net result: ~50 lines removed, 10 lines of actual logic — log setup, trap, status echo, curl, installer.

- Remove MAU download/install (no longer needed for PSSO Setup Assistant flow)
- Inline helper functions; use set -e for failure propagation
- Drop manual PKG validation and decorative banner
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

Successfully merging this pull request may close these issues.

1 participant