#!/bin/bash

# We're going to run this in the MacTeXDVD working directory...
WORK=`pwd`


# Build the package!
echo "Building the Installer package"
./../../PackageMaker.app/Contents/MacOS/PackageMaker  -build -p ${WORK}/TeX-Gyre-Fonts.pkg -ds -s \
	-f ${WORK}/../root -r ${WORK}/resources -i ${WORK}/Info.plist -d ${WORK}/Description.plist
	
	
######################################################
# FINALLY, PUT MY /usr/local BACK AS IT WAS
# mv -f /usr/local.save /usr/local
######################################################


