View Single Post
  #1  
Old 11-28-2019, 03:44 PM
luomat luomat is offline
Registered User
 
Join Date: Jun 2008
Posts: 16
installing .pkg doesn’t overwrite old version?

I have a script which updates SuperDuper, which involves downloading the .tar.gz and then unpacking it before installing the .pkg which is done like this

Code:
sudo /usr/sbin/installer -verbose -pkg 'SuperDuper!.pkg' -dumplog -target / -lang en
The problem is that the package does not seem to actually overwrite the old version.

Instead, the new version gets installed to

Code:
/tmp/superduper_install/
which seems very unusual.

I realize I’m doing it “unusually", but am I doing it “wrong"?
Reply With Quote