From b01d09e4775eafa964a8561091ab2813a33e26d5 Mon Sep 17 00:00:00 2001 From: Craig Everett Date: Sun, 22 Dec 2019 17:01:04 +0900 Subject: [PATCH] Add a call to upgrade zx to the end of installation --- install_unix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install_unix b/install_unix index eb2a16c..90e94b8 100755 --- a/install_unix +++ b/install_unix @@ -4,6 +4,13 @@ if escript_path=$(command -v escript) then echo "Using escript found at $escript_path" escript install.escript + if zx_link=$(command -v zx) + then + echo "zx found in \$PATH at $zx_link. Checking for upgrade." + zx upgrade + else + echo "zx is not yet in \$PATH. Once you have added zx's location to \$PATH run \`zx upgrade\`." + fi else echo "Could not locate an Erlang installation." fi