mirror of
https://github.com/mintycube/st.git
synced 2024-10-22 14:05:49 +02:00
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
|
chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1
|
||||||
tic -sx st.info
|
tic -sx st.info
|
||||||
mkdir -p $(DESTDIR)$(PREFIX)/share/applications # desktop-entry patch
|
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.
|
@echo Please see the README file regarding the terminfo entry of st.
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
|
Loading…
Reference in New Issue
Block a user