Check for already exisiting desktop entry (#100)
When st desktop entry already exists it throws error when running make
This commit is contained in:
parent
b82057eb85
commit
f097dbd079
2
Makefile
2
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:
|
||||
|
Loading…
Reference in New Issue
Block a user