#!/bin/bash
#
#
echo "Start preflight script"
echo ""
echo "Arguments:"
echo ""
echo "\$1: full path to the installation package"
echo "     $1"
echo "\$2: full path to the installation destination"
echo "     $2"
echo "\$3: mountpoint of the destination volume"
echo "     $3"
echo "\$4: root directory \"/\" for the current System folder"
echo "     $4"
echo ""

echo "Will do rm -rf \"$2/iTabla Desktop 3.app\""
rm -rf "$2/iTabla Desktop 3.app" 
mkdir -p "$2"
chmod ugo+rx "$2"

