#!/bin/bash
#
# This postflight script echoes the values of the available 
# arguments and environmental variables.
#
echo "Start postflight 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/Tanpura Generator Desktop 3.app\""
rm -rf "$2/Tanpura Generator Desktop 3.app" 
mkdir -p "$2"
chmod ugo+rx "$2"
