Browse Source

posix and mac fix

tags/v3.1
Luke Smith 5 years ago
parent
commit
a6c81625c8
No known key found for this signature in database GPG Key ID: 4C50B54A911F6252
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      bin/mw

+ 5
- 5
bin/mw View File

@@ -7,11 +7,11 @@ command -V gpg >/dev/null 2>&1 && GPG="gpg" || GPG="gpg2"
}
! command -v mbsync >/dev/null && printf "\`mbsync\` must be installed to run mutt-wizard.\\n" && exit

if [ "$OSTYPE" = "darwin" ]; then
prefix="/usr/local"
else
prefix="/usr"
fi
case "$(uname)" in
Linux) prefix="/usr" ;;
*) prefix="/usr/local" ;;
esac
muttdir="$HOME/.config/mutt" # Main mutt config location
accdir="$muttdir/accounts" # Directory for account settings
maildir="$HOME/.local/share/mail" # Location of mail storage


Loading…
Cancel
Save