#!/bin/sh # if current iTunes pkg exists, delete it b/c of Installer bug if [ -e $1Library/Receipts/iTunes.pkg ] ; then rm -rf $1Library/Receipts/iTunes.pkg 2> /dev/null fi # if iTunes application currently exists, delete it if [ -e $2Applications/iTunes.app ] ; then rm -rf $2Applications/iTunes.app 2> /dev/null fi