0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 06:18:57 +00:00
termux-packages/x11-packages/e16/0001-fix-autogenerate-menu.patch
2024-11-09 13:37:31 +08:00

13 lines
505 B
Diff

diff -ur orig/scripts/e_gen_menu mod/scripts/e_gen_menu
--- orig/scripts/e_gen_menu 2024-06-24 12:38:21.000000000 +0200
+++ mod/scripts/e_gen_menu 2024-10-28 16:56:02.340591608 +0100
@@ -362,7 +362,7 @@
dbg += 1
# Likely prefixes
-Prefixes = ['/usr/local', '/usr', '/opt']
+Prefixes = ['/usr/local', '/usr', '/opt', '@TERMUX_PREFIX@']
Prefixes += ['/opt/kde', '/opt/kde3', getenv('KDEDIR')]
Prefixes += ['/opt/gnome'] # SUSE
Prefixes = MkDirList(Prefixes, ['/share'])