##########################################################################
# $Id: zz-fortune,v 1.12 2005/07/21 06:01:37 bjorn Exp $
##########################################################################
# Named 'zz-fortune' so that it will be the last to execute...

if (($ENV{'PRINTING'} eq "y" ) && (-f "/usr/games/fortune")) {
      #print "\n\n------------------ Fortune --------------------\n\n";
      system("/usr/games/fortune");
      print "\n";
}
elsif (($ENV{'PRINTING'} eq "y" ) && (-f "/usr/bin/fortune")) {
      #print "\n\n------------------ Fortune --------------------\n\n";
      system("/usr/bin/fortune");
      print "\n";
}

# vi: shiftwidth=3 tabstop=3 syntax=perl et

