Remove empty lines

This commit is contained in:
Bob Mottram 2015-04-04 13:02:23 +01:00
parent 1b57cab2c0
commit fef2d39584
2 changed files with 0 additions and 3 deletions

View File

@ -74,7 +74,6 @@ if [ ! -d "$LISTDIR" ]; then
fi
chown -R $MYUSERNAME:$MYUSERNAME $LISTDIR
if ! grep -q "From: $EMAILADDRESS" $PM; then
echo "" >> $PM
echo "# Email rule for $EMAILADDRESS -> $MAILINGLIST" >> $PM
echo ":0" >> $PM
echo " * ^From: $EMAILADDRESS" >> $PM

View File

@ -71,7 +71,6 @@ PM=/home/$MYUSERNAME/.procmailrc
# Ignore if subject line contains text
if [ $SUBJECT_TEXT ]; then
if ! grep -q "Ignore rule for $SUBJECT_TEXT" $PM; then
echo "" >> $PM
echo "# Ignore rule for $SUBJECT_TEXT" >> $PM
echo ":0" >> $PM
echo " * ^Subject:.*$SUBJECT_TEXT" >> $PM
@ -84,7 +83,6 @@ fi
# ignore an email address
if [ $EMAIL_ADDRESS ]; then
if ! grep -q "Ignore rule for $EMAIL_ADDRESS" $PM; then
echo "" >> $PM
echo "# Ignore rule for $EMAIL_ADDRESS" >> $PM
echo ":0" >> $PM
echo " * ^From: $EMAIL_ADDRESS" >> $PM