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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 04-03-2018 01:33 PM
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 0
