Author flammable
Recipients flammable, ned.deily, ronaldoussoren
Date 2020-02-07.21:44:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581111850.29.0.0540786191291.issue39580@roundup.psfhosted.org>
In-reply-to
Content
Hello Python developers!

I'm looking to deploy Python 3 silently to the Macs that I manage, so I can use Python for various scripts. I'm using Munki to accomplish this. However, the Python_Documentation.pkg subpackage includes this code in the postinstall script:

```
# make link in /Applications/Python m.n/ for Finder users
if [ -d "${APPDIR}" ]; then
    ln -fhs "${FWK_DOCDIR}/index.html" "${APPDIR}/Python Documentation.html"
    open "${APPDIR}" || true  # open the applications folder
fi
```

Would it be possible to test for the $COMMAND_LINE_INSTALL variable before opening a Finder window? If the $COMMAND_LINE_INSTALL exists, it'd be really great if it didn't open the Finder. This would allow me to silently deploy Python 3 without disrupting my users.

Thanks!

Mike
History
Date User Action Args
2020-02-07 21:44:10flammablesetrecipients: + flammable, ronaldoussoren, ned.deily
2020-02-07 21:44:10flammablesetmessageid: <1581111850.29.0.0540786191291.issue39580@roundup.psfhosted.org>
2020-02-07 21:44:10flammablelinkissue39580 messages
2020-02-07 21:44:10flammablecreate