#!/bin/bash
# Update the installation log with path info
#
echo "" >> ~/HOBOwareInstall.txt
echo "postinstall script" >> ~/HOBOwareInstall.txt
echo "" >> ~/HOBOwareInstall.txt
echo "HOBOware installer launched from $1" >> ~/HOBOwareInstall.txt 
echo "HOBOware installed in $2" >> ~/HOBOwareInstall.txt
echo "Mountpoint of destination volume is $3" >> ~/HOBOwareInstall.txt
echo "Root directory for current System folder is $4" >> ~/HOBOwareInstall.txt
echo "Scratchpad area used by installer at $INSTALLER_TEMP" >> ~/HOBOwareInstall.txt
echo "" >> ~/HOBOwareInstall.txt

source "${1%/}/Contents/Resources/OnsetPostFunctions" "$@" "$INSTALLER_TEMP"
exit $?
