#!/bin/sh
# Copyright (c) 1994 by Adobe Systems Incorporated.
# Script called immediately after a package is installed.
# $1=Install directory for package. $2=License data file (unused)
########################################################

# Modify launch script with the information about install directory
/usr/bin/cat $1/bin/typeinstaller \
| sed 's%INSTALL_DIR=$%INSTALL_DIR="'$1'"%' \
> $1/bin/typeinstaller.new
/usr/bin/rm -f $1/bin/typeinstaller
/usr/bin/mv $1/bin/typeinstaller.new $1/bin/typeinstaller
chmod 555 $1/bin/typeinstaller


# Remove this script
/usr/bin/rm $1/installscripts/postinstall $1/installscripts/postinstallq

exit 0
