mirror of
https://github.com/termux-pacman/glibc-packages.git
synced 2024-11-23 13:36:24 +00:00
0a1965ed4e
gpkg/bash-completion gpkg/gettext gpkg/liblzma gpkg/libpng gpkg/linux-api-headers gpkg/pango gpkg/spirv-headers gpkg/spirv-tools fix gpkg/glibc
23 lines
852 B
Diff
23 lines
852 B
Diff
--- src/completions/man 2024-02-21 09:55:15.217887570 +0300
|
|
+++ src/completions/man.patch 2024-02-26 11:52:13.493312988 +0300
|
|
@@ -56,18 +56,7 @@
|
|
return
|
|
fi
|
|
|
|
- local manpath=$(manpath 2>/dev/null || command man -w 2>/dev/null)
|
|
- if [[ ! $manpath ]]; then
|
|
- # Note: Both "manpath" and "man -w" may be unavailable, in
|
|
- # which case we determine the man paths based on the
|
|
- # environment variable MANPATH.
|
|
- manpath=:${MANPATH-}:
|
|
- # Note: An empty path (represented by two consecutive colons
|
|
- # or a preceding/trailing colon) represents the system man
|
|
- # paths.
|
|
- manpath=${manpath//::/':/usr/share/man:/usr/local/share/man:'}
|
|
- manpath=${manpath:1:-1}
|
|
- fi
|
|
+ local manpath="@TERMUX_PREFIX@/share/man"
|
|
|
|
# determine manual section to search
|
|
local sect
|