0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 16:06:16 +00:00
termux-packages/x11-packages/codeblocks/src-mime-Makefile.am.patch
ifurther dd3c9ea480 New package: codeblocks
codeblocks: add patch file for wxWidgets 3.1.6 and disable compiler
2023-01-10 00:56:58 +00:00

23 lines
863 B
Diff

--- a/src/mime/Makefile.am
+++ b/src/mime/Makefile.am
@@ -20,7 +20,7 @@
## Update mime only when system wide installation takes place
install-data-hook: install-xdgmimeDATA
- if [ -f $(DESTDIR)$(datadir)/mime/packages/freedesktop.org.xml ] ; then \
+ if false && [ -f $(DESTDIR)$(datadir)/mime/packages/freedesktop.org.xml ] ; then \
if which update-mime-database>/dev/null 2>&1; then \
update-mime-database $(DESTDIR)$(datadir)/mime; \
fi; \
--- a/src/mime/Makefile.in
+++ b/src/mime/Makefile.in
@@ -713,7 +713,7 @@
install-data-hook: install-xdgmimeDATA
- if [ -f $(DESTDIR)$(datadir)/mime/packages/freedesktop.org.xml ] ; then \
+ if false && [ -f $(DESTDIR)$(datadir)/mime/packages/freedesktop.org.xml ] ; then \
if which update-mime-database>/dev/null 2>&1; then \
update-mime-database $(DESTDIR)$(datadir)/mime; \
fi; \