site_archiver(a)lists.apple.com
Delivered-To: installer-dev(a)lists.apple.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ddyChSPSfVp2Xe4bRKhwyAkohXZMYWdpeqMH+0a5KeI=; b=g+u8xsFmN7jr0SjUxOBsncaUejtpFJDcwaZz2SVmnhzwZsnWtb73X4JwAGXkDUlyDL 8dia/Qn1oJkNqRG38h/0kKgQlTz4o6CzQ1QP9Ak67QsIWN1wM4c4eBUJj6gnL+h+KDoU AZvfLxNJYaw7T0Uw7JP7MsloiJ+Vt2Ft3NawmkztOiJG7UQx6/GEqrIWwBa4LfU1YHaG b7SOZfYaK5zAQMzATruvnpdfy1c9RGnbi5nMXoyVDs5s6G0LNptDG5QNs5PKWjboTdpt AMHfH016lc8mRQM9t5eYywQOEMTPsnJoUGzCOU9LxNyMKWJ0t5eCg32MGrjEJNlMxjBn 5U8A==
ok
On Thu, Feb 28, 2019, 12:00 PM <installer-dev-request(a)lists.apple.com>
wrote:
> Send Installer-dev mailing list submissions to
> installer-dev(a)lists.apple.com
>
> 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
> installer-dev-request(a)lists.apple.com
>
> You can reach the person managing the list at
> installer-dev-owner(a)lists.apple.com
>
> 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 (jean(a)daraspe.com)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 28 Feb 2019 00:29:18 +0100
> From: jean(a)daraspe.com
> To: installer-dev(a)lists.apple.com
> Subject: Script output in the package installer
> Message-ID: <73b7ba05ac0326807c272b3ff7f60229(a)daraspe.com>
> 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
> Installer-dev(a)lists.apple.com
> 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 (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