From dc8a834888d9c93a007f766db8cbbbd889d69776 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 26 Nov 2020 07:15:09 +0200 Subject: [PATCH] neofetch: Fix naming conflict with mine. See #1616 --- neofetch | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 7b68ffb3..051baf0e 100755 --- a/neofetch +++ b/neofetch @@ -1535,9 +1535,12 @@ get_packages() { has sorcery && tot gaze installed has alps && tot alps showinstalled has butch && tot butch list - has mine && tot mine -q has swupd && tot swupd bundle-list --quiet + # 'mine' conflicts with minesweeper games. + [[ -f /etc/SDE-VERSION ]] && + has mine && tot mine -q + # Counting files/dirs. # Variables need to be unquoted here. Only Bedrock Linux is affected. # $br_prefix is fixed and won't change based on user input so this is safe either way.