#
# ONEToDiskImage
#
# This script copies the finder.data files, basic.system, basic.launcher and
# the icons file to the indicated disk images.
#
# Written by Steven Glass    13 Dec 88
# Modified by Steven Glass	 10 Jan 89
#
# 10 Mar 89		Steven Glass
#
# Changed names to 5.0
#
# 11/27/89	Mensch
# Added disk 3 and changed disk names...
#############################################################################
########################################
#
# Set the destination
#
########################################
IF "{2}" == ""
	set Dest "A2CE_Sources:System Disk 6.0"
	set DestSD "A2CE_Sources:System Disk 6.0:Install:"
	set DestST1 "A2CE_Sources:System Disk 6.0:SystemTools1:"
	set DestST2 "A2CE_Sources:System Disk 6.0:SystemTools2:"
ELSE
	# First we make sure the directory name ends in a colon.
	IF "{2}" !~ /[:]/
		set 2 "{2}":
	END
	set Dest "{2}"
	set DestSD "{2}"Install:
	set DestST1 "{2}"SystemTools1:
	set DestST2 "{2}"SystemTools2:
END

########################################
#
# Set the source
#
########################################
IF "{1}" == ""
	set Src "{GSProjects}SD.Odds.N.Ends:"
ELSE
	# First we make sure the directory name ends in a colon.
	IF "{1}" !~ /[:]/
		set 1 {1}:
	END
	SET Src {1}
END


########################################
#
# Now do the copying.
#
########################################
echo "# Copying Odds 'n' Ends from {Src} to {Dest}."

set echo on
#duplicate -d -y "{Src}"finder.icons					"{DestSD}"Icons:Finder.Icons -y
duplicate -d -y "{Src}"FType.Apple					"{DestSD}"Icons:FType.Apple
duplicate -d -y "{Src}":basic.system:basic.system	"{DestST1}"BASIC.System
duplicate -d -y "{Src}"SetStart.data				"{DestSD}"System:SetStart.data
duplicate -d -y "{Src}"CLOCK.PATCH					"{DestST2}"CLOCK.PATCH

#duplicate -d -y "{Src}"iw.psetup					"{DestST1}"system:drivers:Printer.Setup
#duplicate -d -y "{Src}"iw.psetup					"{DestST1}"system:drivers:IW.PSetup
#duplicate -d -y "{Src}"iwlq.psetup					"{DestST1}"system:drivers:IWLQ.PSetup
#duplicate -d -y "{Src}"epson.psetup				"{DestST1}"system:drivers:EPSON.PSetup
#duplicate -d -y "{Src}"AT.IW.psetup				"{DestST2}"system:drivers:AT.IW.PSetup
#duplicate -d -y "{Src}"AT.IWLQ.psetup				"{DestST2}"system:drivers:AT.IWLQ.PSetup
#duplicate -d -y "{Src}"LW.psetup					"{DestST2}"system:drivers:LW.PSetup

unset echo