#
# HELP: SYNOPSIS:
# HELP:     colotux/helper/ComplainScriptRerun
# HELP:
# HELP: DESCRIPTION:
# HELP:     Complain via xmessage that the script has already been run.
#
DECLARE int $fd
CECHO ${$fd=$root.func.file.popen("xmessage -file - -center -timeout 20","w")}
IF ${ $fd==(void)0 || $fd==-1} QUIT
CECHO ${$root.func.file.puts($fd,"The preparation script has already been run.\n")}
CECHO ${$root.func.file.puts($fd,"\n")}
CECHO ${$root.func.file.puts($fd,"If you want to run a dataset through a different\n")}
CECHO ${$root.func.file.puts($fd,"preparation script, please reload it first.\n")}
CECHO ${$root.func.file.close($fd)}
