Skip to main content
Question

Possible to make a .pkg re-installable without deleting the receipt?


Forum|alt.badge.img+17
  • Valued Contributor
  • 178 replies

Hi All,
Wondering if anyone has info regarding packages and receipts. I have a few packages that users may want to reinstall for whatever reason, and typically I'd have to run a

sudo pkgutil --forget name.of.package

as a script before running the .pkg. This is fine in most cases, but I sometimes forget to add it or it's not an option to add a script (Patch policies...) so then things sorta fall apart...

Is there a flag/option/setting to force a package to always reinstall even if there's an existing receipt for it?

Thanks!
Matt

0 replies

Be the first to reply!

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