Remove xcowfortune
authorNick Gasson <nick@nickg.me.uk>
Fri, 11 Jul 2008 21:41:07 +0000 (22:41 +0100)
committerNick Gasson <nick@nickg.me.uk>
Fri, 11 Jul 2008 21:41:07 +0000 (22:41 +0100)
src/Makefile.am
src/xcowat [deleted file]

index 20e7255ceeb5a50b52216ac0072d52d5f32ee6ac..c30c4c2990cc9326765291ba23ea4c9715fd6289 100644 (file)
@@ -1,5 +1,5 @@
 bin_PROGRAMS = xcowsay
-bin_SCRIPTS = xcowat xcowfortune
+bin_SCRIPTS = xcowfortune
 
 AM_CFLAGS = $(XCOWSAY_CFLAGS) 
 LDADD = $(XCOWSAY_LIBS)
@@ -8,7 +8,7 @@ xcowsay_SOURCES = xcowsay.c display_cow.c display_cow.h floating_shape.h \
        floating_shape.c settings.h settings.c Cowsay_glue.h xcowsayd.h \
        xcowsayd.c config_file.h config_file.c i18n.h bubblegen.c
 
-EXTRA_DIST = xcowat xcowfortune
+EXTRA_DIST = xcowfortune
 
 localedir = $(datadir)/locale
 
diff --git a/src/xcowat b/src/xcowat
deleted file mode 100755 (executable)
index 4f8fae6..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-#
-# Run xcowsay at the specified time using atd
-#
-
-# Might not have a display
-if [ "$DISPLAY" = "" ]; then
-    DISPLAY=:0.0
-fi
-
-# xcowsay may not be on the PATH...
-# ...but it should be in the same directory as xcowat
-PATH=$PATH:`dirname $0`
-
-echo "env DISPLAY=$DISPLAY PATH=$PATH xcowsay \"$2\"" | at $1