site_archiver(a)lists.apple.com
Delivered-To: installer-dev(a)lists.apple.com
User-agent: Roundcube Webmail/1.3.8
Dear all,
Is something like this exists, through a plugin or something else?
The thing it's quite easy: I have a Pre-installation script like this:
---------------
#!/bin/bash
exists()
{
command -v "$1" >/dev/null 2>&1
}
if exists magick; then
echo "ImageMagick is already installed."
exit
else
echo "Install ImageMagick"
mv ImageMagick-x86_64-apple-darwin17.7.0.tar /usr/local
cd /usr/local
tar xvzf ImageMagick-x86_64-apple-darwin17.7.0.tar
sleep 1
rm /usr/local/ImageMagick-x86_64-apple-darwin17.7.0.tar
fi
---------------
Is there a way to see in the installer interface the two
echo "ImageMagick is already installed."
or
echo "Install ImageMagick"
Thank you very much for your help,
Jean
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (Installer-dev(a)lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists…
This email sent to site_archiver(a)lists.apple.com
I am looking for a way to output messages from a bash script in the
Packages installer interface during the installation process.