commit cac640fb5562e1258537625466d9afb063403bb5
parent 3adf8ddace75bef39971789087458e727cb7d6e4
Author: Jaromil <jaromil@dyne.org>
Date: Mon, 4 Jun 2012 18:00:42 +0200
ps snaketail problem with grep finally solved! Thanks Anatol! /me throws away pidof
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/jaro b/src/jaro
@@ -156,7 +156,7 @@ MUTTDIR=$WORKDIR/.mutt
# use gnome-keyring for passwords on GNU systems
GNOMEKEY=0
-pidof gnome-keyring-daemon > /dev/null
+ps ax | grep '[g]nome-keyring-daemon' > /dev/null
{ test $? = 0 } && {
which jaro-gnome-keyring > /dev/null
{ test $? = 0 } && { GNOMEKEY=1 }
@@ -501,7 +501,7 @@ read_account() {
{ test -z $login } && { login="$email" } # usually email and login are the same
{ test -z $email } && { email="$login" } # so if one is specified, deduce the other
{ test -z $transport } && { transport=plain }
- { test -z $port } && { port=993 }
+ { test -z $port } && { port=143 }
{ test -z $auth } && { auth=plain }
{ test -z $cert } && { cert=ignore }
{ test -z $accountopt } && { accountopt=keep }