.K ""
echo "This script will install l:fifo-handler and libs:fifo.library."
echo "If they already exist, you will be asked if you want to overwrite"
echo "the existing versions with the versions from this distribution."
echo ""

ask "Do you wish to continue with the installation? [y/n]"
if WARN
	if not EXISTS l:fifo-handler
		echo "No existing l:fifo-handler, installing l:fifo-handler ..."
		copy l/fifo-handler l:fifo-handler
	else
		ask "Do you wish to overwrite l:fifo-handler? [y/n]"
		if WARN
			echo "Updating l:fifo-handler ..."
			copy l/fifo-handler l:fifo-handler
		else
			echo "l:fifo-handler unchanged."
		endif
	endif
	if not EXISTS libs:fifo.library
		echo "No existing libs:fifo.library, installing libs:fifo.library ..."
		copy libs/fifo.library libs:fifo.library
	else
		ask "Do you wish to overwrite libs:fifo.library? [y/n]"
		if WARN
			echo "Updating libs:fifo.library ..."
			copy libs/fifo.library libs:fifo.library
		else
			echo "libs:fifo.library unchanged."
		endif
	endif
endif

echo "All Done.  Click close gadget to get rid of window."
endcli
