mutt-wizard

fork of Luke Smiths mutt-wizard
git clone git://git.jakekoroman.com/mutt-wizard
Log | Files | Refs | README | LICENSE

commit 7c7b551a02a3a876354a511e23001081049db409
parent b7059e630c8d40214173c5b239c27a49cd55fda3
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sun,  5 May 2019 09:34:16 -0400

Merge pull request #195 from monorkin/fix/mailcap-on-macos

Use correct prefix in muttrc on macOS
Diffstat:
MMakefile | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -18,6 +18,10 @@ install: for shared in share/*; do \ cp -f $$shared $(DESTDIR)$(PREFIX)/share/mutt-wizard; \ done + if [[ "$(OS)" == "Darwin" ]]; then \ + sed -iba 's/\/usr\//\/usr\/local\//' $(DESTDIR)$(PREFIX)/share/mutt-wizard/mutt-wizard.muttrc; \ + rm $(DESTDIR)$(PREFIX)/share/mutt-wizard/mutt-wizard.muttrcba; \ + fi mkdir -p $(DESTDIR)$(MANPREFIX)/man1 cp -f mw.1 $(DESTDIR)$(MANPREFIX)/man1/mw.1