<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">A script that’ll download the installer pkg and then run the installer cli command<div class=""><br class=""></div><div class="">i.e. something like</div><div class=""><br class=""></div><div class="">cd ~/Downloads</div><div class="">curl -OL /url/of/installer.pkg</div><div class="">sudo <span style="font-family: inherit; font-style: inherit; font-variant-caps: inherit; white-space: inherit; color: var(--highlight-color); font-size: 13px;" class="">installer -pkg </span><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">installer.pkg</span><span style="font-family: inherit; font-style: inherit; font-variant-caps: inherit; white-space: inherit; color: var(--highlight-color); font-size: 13px;" class=""> -target /</span></div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div></div></div><div class=""><blockquote type="cite" class=""><div class="">On May 23, 2021, at 12:58 PM, Joshua Root <<a href="mailto:jmr@macports.org" class="">jmr@macports.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On 2021-5-23 20:40 , Artem Loenko via macports-dev wrote:<br class=""><blockquote type="cite" class="">If you ask me, `curl | sh` is a better option than `sudo make install`.<br class="">Even if we compare them both as anti-patterns.<br class=""></blockquote><br class="">If you haven't done any verification of the integrity of what you're installing, 'make install' is certainly also a bad idea. But at least you had the opportunity to verify the gpg signature or whatever of the tarball you downloaded before running that. (And sure, a lot of people don't, hence the preference of the pkg installer for general use, which will refuse to install if the signature can't be verified.)<br class=""><br class=""><blockquote type="cite" class="">Plus, `make` requires a few dependencies. But when you install a package,<br class="">all the logic/doctor checks can be implemented on the `ports` binary level.<br class="">Install CLT, Xcode, check the environment, etc. Simple is better.<br class=""></blockquote><br class="">Sure.<br class=""><br class="">- Josh<br class=""></div></div></blockquote></div><br class=""></div></div><br class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Marius</div><div class="">--</div><div class="">Marius Schamschula</div><div class=""><br class=""></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""></body></html>