diff options
author | Ayman Bagabas <ayman.bagabas@gmail.com> | 2019-07-01 18:14:16 -0400 |
---|---|---|
committer | Ayman Bagabas <ayman.bagabas@gmail.com> | 2019-07-01 18:34:07 -0400 |
commit | cd5fd9bde283454bb64549bb064ecd3d50500d23 (patch) | |
tree | edba53d659bb2f747bac5c0aaeceb79f025cf754 /bin | |
parent | 86cd3ad33f6e6453db54e7cd507e85ec0da32055 (diff) |
Make use of PREFIX environment variable
This patch puts the environment variable PREFIX in more use. If
specified, mull-wizard Makefile substitute all instances of prefix with
the provided environment variable.
Signed-off-by: Ayman Bagabas <ayman.bagabas@gmail.com>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/mw | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -8,11 +8,7 @@ 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 -case "$(uname)" in - Linux) prefix="/usr" ;; - *) prefix="/usr/local" ;; -esac - +prefix="/usr/local" muttdir="$HOME/.config/mutt" # Main mutt config location accdir="$muttdir/accounts" # Directory for account settings maildir="$HOME/.local/share/mail" # Location of mail storage |