st-flexipatch

My st-flexipatch configuration
git clone git://git.ethandl.dev/st-flexipatch
Log | Files | Refs | README | LICENSE

commit f097dbd0798d36f817b29f9881e1989f8864843d
parent b82057eb85be26d83d5dcb7e8f3b74a95166cca5
Author: Sajay <sajayprakash7@protonmail.com>
Date:   Wed,  5 Jul 2023 14:45:27 +0530

Check for already exisiting desktop entry (#100)

When st desktop entry already exists it throws error when running make
Diffstat:
MMakefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -52,7 +52,7 @@ install: st chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1 tic -sx st.info mkdir -p $(DESTDIR)$(PREFIX)/share/applications # desktop-entry patch - cp -n st.desktop $(DESTDIR)$(PREFIX)/share/applications # desktop-entry patch + test -f ${DESTDIR}${PREFIX}/share/applications/st.desktop || cp -n st.desktop $(DESTDIR)$(PREFIX)/share/applications # desktop-entry patch @echo Please see the README file regarding the terminfo entry of st. uninstall: