Don't import mail files for the writer variant

This commit is contained in:
Bob Mottram 2014-09-24 20:47:25 +01:00
parent 8198d40bd8
commit 57c01b3144
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ function search_for_attached_usb_drive {
mkdir /media/usb mkdir /media/usb
mount $USB_DRIVE /media/usb mount $USB_DRIVE /media/usb
fi fi
if ! [[ $SYSTEM_TYPE == "cloud" || $SYSTEM_TYPE == "chat" || $SYSTEM_TYPE == "social" ]]; then if ! [[ $SYSTEM_TYPE == "writer" || $SYSTEM_TYPE == "cloud" || $SYSTEM_TYPE == "chat" || $SYSTEM_TYPE == "social" ]]; then
if [ -d /media/usb/Maildir ]; then if [ -d /media/usb/Maildir ]; then
echo 'Maildir found on USB drive' echo 'Maildir found on USB drive'
IMPORT_MAILDIR=/media/usb/Maildir IMPORT_MAILDIR=/media/usb/Maildir