#!/bin/csh
#
# Create! installation script (last update 9 September 1994)
#
# This script assumes that the files reside in the same directory
# 
# Unpack Create
#
echo -n "Unpacking Create ..."
uncompress -c create.tar.Z | tar xf -
uncompress create.im.Z
mv create.im system.3/bin
echo "done"
#
# First install the Create! environment for simulation of manufacturing systems
#
echo -n "Creating links ..."
ln -s system.3 system
echo "done"
#
echo -n "Creating empty user registry ..."
cp system/userEmpty system/userRegistry
echo "done"
#
# set scripts executable, just in case this has been turned off during load
#
chmod 755 system/scripts/*
#
# Change the following line to
# system/scripts/setGroupAccess
# if you want restrict Create! access to the members of the create group
#
echo -n "Setting protections ..."
system/scripts/setAccess
echo "done"
#
# Now unpack the documentation files (all in postscript)
#
echo -n "Unpacking documentation ..."
uncompress -c doc.tar.Z | tar xf -
echo "done"
#
# Now unpack the tutorial
#
echo -n "Unpacking tutorial ..."
uncompress -c tutorial.tar.Z | tar xf -
echo "done"
#
# Done
#
echo "Create! installed"

