backup files deleted on install

This commit is contained in:
Luke Smith 2019-11-25 12:40:18 -05:00
parent 4542f27c2e
commit 576d7b3d65
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

View File

@ -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: