posix and mac fix
This commit is contained in:
parent
4c57b410fc
commit
a6c81625c8
10
bin/mw
10
bin/mw
@ -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
|
! command -v mbsync >/dev/null && printf "\`mbsync\` must be installed to run mutt-wizard.\\n" && exit
|
||||||
|
|
||||||
if [ "$OSTYPE" = "darwin" ]; then
|
case "$(uname)" in
|
||||||
prefix="/usr/local"
|
Linux) prefix="/usr" ;;
|
||||||
else
|
*) prefix="/usr/local" ;;
|
||||||
prefix="/usr"
|
esac
|
||||||
fi
|
|
||||||
muttdir="$HOME/.config/mutt" # Main mutt config location
|
muttdir="$HOME/.config/mutt" # Main mutt config location
|
||||||
accdir="$muttdir/accounts" # Directory for account settings
|
accdir="$muttdir/accounts" # Directory for account settings
|
||||||
maildir="$HOME/.local/share/mail" # Location of mail storage
|
maildir="$HOME/.local/share/mail" # Location of mail storage
|
||||||
|
Loading…
Reference in New Issue
Block a user