minotari_node 5.4.0-pre.0

The tari full base node implementation
#!/bin/sh
#
# Pre install script for minotari_node pkg
# This script is bundled with OSX PGK verion
# of the Minotari base node binary distribution.
#

# Debugging enabled
#set -x

if [ ! "$(uname)" == "Darwin" ]; then
  echo "Helper script meant for OSX"
  echo "Please visit https://tari.com/downloads/"
  echo " and download the binary distro for your platform"
  exit 1
fi

tsstamp=$(date +'%Y%m%d_%Hh%Mm%Ss')
logging_file=/tmp/minotari_node_preinstall-$tsstamp.log

echo "Running preinstall - $(date +'%Y-%m-%d %Hh%M:%S')" > $logging_file
echo "Envs " >> $logging_file
env >> $logging_file
echo "Positional arguments" $@ >> $logging_file
echo "Done preinstall - $(date +'%Y-%m-%d %Hh%M:%S')" >> $logging_file

exit 0 # all good