summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-11-25 12:40:18 -0500
committerLuke Smith <luke@lukesmith.xyz>2019-11-25 12:40:18 -0500
commit576d7b3d65d10e13418f1c05b504065207208f41 (patch)
treec33387f0d916a61ed1e9a46df2c922af0ea07b34 /Makefile
parent4542f27c2edfe73ed870a0ad7d772802ab3c81cc (diff)
backup files deleted on install
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 13214f5..d66ca46 100644
--- a/Makefile
+++ b/Makefile
@@ -20,11 +20,11 @@ install:
cp -f mw.1 $(DESTDIR)$(MANPREFIX)/man1/mw.1
if [ "$(PREFIX)" ]; then \
sed -iba 's:/usr/local:$(PREFIX):' $(DESTDIR)$(PREFIX)/share/mutt-wizard/mutt-wizard.muttrc; \
+ rm -f $(DESTDIR)$(PREFIX)/share/mutt-wizard/mutt-wizard.muttrcba; \
sed -iba 's:/usr/local:$(PREFIX):' $(DESTDIR)$(PREFIX)/bin/mw; \
+ rm -f $(DESTDIR)$(PREFIX)/bin/mwba; \
sed -iba 's:/usr/local:$(PREFIX):' $(DESTDIR)$(MANPREFIX)/man1/mw.1; \
- fi
- if [ "$(OS)" = "Darwin" ]; then \
- rm $(DESTDIR)$(PREFIX)/share/mutt-wizard/mutt-wizard.muttrcba; \
+ rm -f $(DESTDIR)$(MANPREFIX)/man1/mw.1ba; \
fi
uninstall: