btop: append `--utf-force` argument by default
authorTianling Shen <cnsztl@immortalwrt.org>
Mon, 14 Nov 2022 07:58:32 +0000 (15:58 +0800)
committerTianling Shen <cnsztl@gmail.com>
Tue, 15 Nov 2022 06:33:04 +0000 (14:33 +0800)
commit5671bd0d1aee30a86133aa350a6ca307af4f70e9
treefc0885923f9d164c0f3c55ebfad88cf5fab92f61
parent409dbb05c9ea0877549e0f2536dd5efce1747048
btop: append `--utf-force` argument by default

btop reads the `LANG` env variable to delect if the system has utf8
support, which exists on common Linux distributions.

However, OpenWrt does not ship it, and results in btop reporting
"No UTF-8 locale detected!". Users have to manually pass `--utf-force`
to make btop happy.

To make it OOTB, append `--utf-force` argument by default via alias.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
admin/btop/Makefile
admin/btop/files/btop.sh [new file with mode: 0644]