aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <ryanakca@kubuntu.org>2011-09-06 12:06:33 -0400
committerRyan Kavanagh <ryanakca@kubuntu.org>2011-09-25 09:43:02 -0400
commit771a6dd51563244ddf1d6720b9b7440a5e9c5f0c (patch)
treefabf1fcc1b45cce3fda801c6946cf43d515fe384
parentSet redshift mode in SUBSTS (diff)
run-mailcheck needs zsh
-rw-r--r--SUBSTS3
-rwxr-xr-xbin/run-mailcheck2
-rwxr-xr-xdm2
3 files changed, 6 insertions, 1 deletions
diff --git a/SUBSTS b/SUBSTS
index 9c03a27..5381cea 100644
--- a/SUBSTS
+++ b/SUBSTS
@@ -45,3 +45,6 @@ MUTT_10_SCORE \\"(eve@foo.org)\\"
# redshift mode to use (xrandr or vidmode)
REDSHIFT_MODE vidmode
+
+# Grep path
+GREP_PATH /bin/grep
diff --git a/bin/run-mailcheck b/bin/run-mailcheck
index 9859570..13798d4 100755
--- a/bin/run-mailcheck
+++ b/bin/run-mailcheck
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!ZSH_PATH
MAIL=`mailcheck`
GMAIL=`echo $MAIL | /bin/grep -v QueensU`
QUEENSU=`echo $MAIL | /bin/grep QueensU`
diff --git a/dm b/dm
index cfb18e2..a7137ef 100755
--- a/dm
+++ b/dm
@@ -18,6 +18,7 @@ LOCAL_FILES = \
.xmonad/xmonad.hs \
.zsh/func/prompt_wunjo_setup \
.zshrc \
+ bin/run-mailcheck
# Files that are system independent.
# IMPORTANT: directories must have trailing slash
@@ -74,6 +75,7 @@ VARS_.xinitrc = SCREENLAYOUT
VARS_.xmonad/xmonad.hs = XMONAD_DZEN_W XMONAD_DZEN_X XMONAD_DZEN_Y
VARS_.zsh/func/prompt_wunjo_setup = ZSH_HOST_COLOUR
VARS_.zshrc = LOCALE SUBSTS_RM SUBSTS_LS MSMTP_PATH
+VARS_bin/run-mailcheck = ZSH_PATH GREP_PATH
all: clean build