Remove empty lines
This commit is contained in:
parent
1b57cab2c0
commit
fef2d39584
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue