fix wrongly escaped test cronjob
[distro-setup] / brc
diff --git a/brc b/brc
index b8eb1201c21155043f505feb03a9350ebc37dcbf..ee6ca1995c27321775cbd88f2a4144b45a926875 100644 (file)
--- a/brc
+++ b/brc
@@ -122,7 +122,7 @@ if [[ $- == *i* ]]; then
 
     if [[ $KONSOLE_PROFILE_NAME ]]; then
       TERM=xterm-256color
-      fi
+    fi
 
     # todo: not sure this works in sakura
     #stty werase undef
@@ -1118,14 +1118,14 @@ ifn() {
 }
 
 
-  o() {
-    if type gvfs-open &> /dev/null ; then
-      gvfs-open "$@"
-    else
-      xdg-open "$@"
-    fi
-    # another alternative is run-mailcap
-  }
+o() {
+  if type gvfs-open &> /dev/null ; then
+    gvfs-open "$@"
+  else
+    xdg-open "$@"
+  fi
+  # another alternative is run-mailcap
+}
 
 ipdrop() {
   s iptables -A INPUT -s $1 -j DROP
@@ -1840,7 +1840,7 @@ testsieve() {
   _dosieve ~/sieve/maintest.sieve ${1:-INBOX} delete
 }
 runsieve() {
-  c ~/sieve; cp personal{test,}.sieve; cp lists{test,}.sieve
+  c ~/sieve; cp personal{test,}.sieve; cp lists{test,}.sieve; cp personalend{test,}.sieve
   _dosieve ~/sieve/main.sieve -eW ${1:-INBOX} delete
 }
 
@@ -2192,8 +2192,11 @@ if [[ $- == *i* ]]; then
     if [[ -e /nocow/btrfs-stale ]] && ((`command ls -AUq /nocow/btrfs-stale|wc -l`)); then
       ps_char="! $ps_char"
     fi
-    if [[ -e /nocow/mailtest-failure ]]; then
-      ps_char="@#$@#$ $ps_char"
+    if test -e /m/md/bounces/new/*; then
+      ps_char='!BOUNCE! '"$ps_char"
+    fi
+    if [[ -e /nocow/user/mailtest-failure ]]; then
+      ps_char='!MAILPING! '"$ps_char"
     fi
     source /a/bin/bash_unpublished/source-state
     if [[ ! $SSH_CLIENT && $MAIL_HOST != $HOSTNAME ]]; then