From abe28eb2c3905071991722c87df0ef5dc16ea690 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 24 Sep 2014 13:07:28 +0100 Subject: [PATCH] Redirections --- install-freedombone.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/install-freedombone.sh b/install-freedombone.sh index 9ddbe128..322303bf 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -1158,9 +1158,9 @@ function folders_for_mailing_lists { echo ' mkdir $PROCMAILLOG' >> /usr/bin/mailinglistrule echo ' chown -R $MYUSERNAME:$MYUSERNAME $PROCMAILLOG' >> /usr/bin/mailinglistrule echo 'fi' >> /usr/bin/mailinglistrule - echo 'MUTT_MAILBOXES=$(grep "mailboxes =" $MUTTRC)' - echo 'sed -i "s|$MUTT_MAILBOXES|$MUTT_MAILBOXES =$MAILINGLIST|g" $MUTTRC' - echo 'chown $MYUSERNAME:$MYUSERNAME $MUTTRC' + echo 'MUTT_MAILBOXES=$(grep "mailboxes =" $MUTTRC)' >> /usr/bin/mailinglistrule + echo 'sed -i "s|$MUTT_MAILBOXES|$MUTT_MAILBOXES =$MAILINGLIST|g" $MUTTRC' >> /usr/bin/mailinglistrule + echo 'chown $MYUSERNAME:$MYUSERNAME $MUTTRC' >> /usr/bin/mailinglistrule chmod +x /usr/bin/mailinglistrule echo 'folders_for_mailing_lists' >> $COMPLETION_FILE } @@ -1197,9 +1197,9 @@ function folders_for_email_addresses { echo ' mkdir $PROCMAILLOG' >> /usr/bin/emailrule echo ' chown -R $MYUSERNAME:$MYUSERNAME $PROCMAILLOG' >> /usr/bin/emailrule echo 'fi' >> /usr/bin/emailrule - echo 'MUTT_MAILBOXES=$(grep "mailboxes =" $MUTTRC)' - echo 'sed -i "s|$MUTT_MAILBOXES|$MUTT_MAILBOXES =$MAILINGLIST|g" $MUTTRC' - echo 'chown $MYUSERNAME:$MYUSERNAME $MUTTRC' + echo 'MUTT_MAILBOXES=$(grep "mailboxes =" $MUTTRC)' >> /usr/bin/emailrule + echo 'sed -i "s|$MUTT_MAILBOXES|$MUTT_MAILBOXES =$MAILINGLIST|g" $MUTTRC' >> /usr/bin/emailrule + echo 'chown $MYUSERNAME:$MYUSERNAME $MUTTRC' >> /usr/bin/emailrule chmod +x /usr/bin/emailrule echo 'folders_for_email_addresses' >> $COMPLETION_FILE }