Files
termux-packages/packages/lesspipe/lesspipe.sh.patch
termux-pacman-bot a4218537e1 fix(main/lesspipe): Fix unknown locale command in shell script
This reintroduces the patch file which was removed in 3a1d9549065bfa59a92d4ecb8ec176edc20182b8 commit.
2024-12-11 13:41:49 +00:00

12 lines
296 B
Diff

--- a/lesspipe.sh
+++ b/lesspipe.sh
@@ -842,7 +842,7 @@
PATH=$PATH:${0%%/lesspipe.sh}
# the current locale in lowercase (or generic utf-8)
declare -l charmap
-charmap=$(locale -k charmap) || charmap="charmap=utf-8"
+charmap="charmap=utf-8"
eval "$charmap"
sep=: # file name separator