Re: Installer-dev Digest, Vol 160, Issue 1
Re: Installer-dev Digest, Vol 160, Issue 1
- Subject: Re: Installer-dev Digest, Vol 160, Issue 1
- From: Antonio Alvarez <email@hidden>
- Date: Thu, 28 Feb 2019 18:45:23 -0800
ok
On Thu, Feb 28, 2019, 12:00 PM <email@hidden>
wrote:
> Send Installer-dev mailing list submissions to
> email@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.apple.com/mailman/listinfo/installer-dev
> or, via email, send a message with subject or body 'help' to
> email@hidden
>
> You can reach the person managing the list at
> email@hidden
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Installer-dev digest..."
>
>
> Today's Topics:
>
> 1. Script output in the package installer (email@hidden)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 28 Feb 2019 00:29:18 +0100
> From: email@hidden
> To: email@hidden
> Subject: Script output in the package installer
> Message-ID: <email@hidden>
> Content-Type: text/plain; CHARSET=US-ASCII; format=flowed
>
> Dear all,
>
> I am looking for a way to output messages from a bash script in the
> Packages installer interface during the installation process.
> 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
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Installer-dev mailing list
> email@hidden
> https://lists.apple.com/mailman/listinfo/installer-dev
>
>
> ------------------------------
>
> End of Installer-dev Digest, Vol 160, Issue 1
> *********************************************
>
_______________________________________________
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