wizard: offer to override font on Termux if it is not MesloLGS NF

pull/203/head
romkatv 5 years ago
parent ebcb8cd307
commit 7f90c103d1

@ -231,7 +231,11 @@ function can_install_font() {
if [[ "$(uname)" == Linux && "$(uname -o)" == Android ]]; then
(( $+commands[termux-reload-settings] )) || return
(( $+commands[curl] )) || return
[[ ! -f ~/.termux/font.ttf ]] || return
if [[ -f ~/.termux/font.ttf ]]; then
[[ -r ~/.termux/font.ttf ]] || return
[[ -w ~/.termux/font.ttf ]] || return
! grep -q 'MesloLGS NF' ~/.termux/font.ttf 2>/dev/null || return
fi
if [[ -f ~/.termux ]]; then
[[ -d ~/.termux && -w ~/.termux ]] || return
else

Loading…
Cancel
Save