Re: preinstall/preupgrade scripts: The revenge
Re: preinstall/preupgrade scripts: The revenge
- Subject: Re: preinstall/preupgrade scripts: The revenge
- From: Per Olofsson <email@hidden>
- Date: Mon, 10 Jun 2013 10:42:24 +0000
- Thread-topic: preinstall/preupgrade scripts: The revenge
6 jun 2013 kl. 07:28 skrev Paul Cook <email@hidden>:
> Great info, but don't those sample tests & scripts only work if you are installing on the boot drive?
Yes, afaict. Untested, but try:
foundPackage=$(/usr/sbin/pkgutil --volume "$3" --pkgs="$INSTALL_PKG_SESSION_ID")
As always, don't forget to use $3 in your package scripts lest the wrath of sysadmins come upon you.
--
Per Olofsson, IT-service, University of Gothenburg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden