termux-packages/x11-packages/hexchat/hexchat-2.14.2_meson_post_i...

23 lines
1003 B
Diff
Raw Normal View History

diff -uNr hexchat-2.14.2/meson_post_install.py hexchat-2.14.2.mod/meson_post_install.py
--- hexchat-2.14.2/meson_post_install.py 2018-08-29 19:41:08.000000000 +0300
+++ hexchat-2.14.2.mod/meson_post_install.py 2018-10-09 21:31:29.201613989 +0300
@@ -7,18 +7,3 @@
prefix = os.environ.get('MESON_INSTALL_PREFIX', '/usr/local')
datadir = os.path.join(prefix, 'share')
with_thememan = sys.argv[1] == 'true'
-
-# Packaging tools define DESTDIR and this isn't needed for them
-if 'DESTDIR' not in os.environ:
- print('Updating icon cache...')
- subprocess.call(['gtk-update-icon-cache', '-qtf',
- os.path.join(datadir, 'icons', 'hicolor')])
-
- print('Updating desktop database...')
- subprocess.call(['update-desktop-database', '-q',
- os.path.join(datadir, 'applications')])
-
- if with_thememan:
- print('Updating mime database...')
- subprocess.call(['update-mime-database',
- os.path.join(datadir, 'mime')])