From 4cbf89a1a86df54ff4ebf9fd78ff0b617e60aa77 Mon Sep 17 00:00:00 2001 From: deicidus Date: Fri, 16 Jun 2023 03:31:39 -0700 Subject: [PATCH] improved raspbian detection --- spells/menu/bitcoin/install-bitcoin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spells/menu/bitcoin/install-bitcoin b/spells/menu/bitcoin/install-bitcoin index 53d30a6..b956234 100755 --- a/spells/menu/bitcoin/install-bitcoin +++ b/spells/menu/bitcoin/install-bitcoin @@ -79,7 +79,7 @@ install_bitcoin() { ;; Linux) # If the operating system is Raspbian, we will skip compiling from source and go directly to binary installation. - if grep -q 'Raspbian' /etc/os-release; then + if uname -a | grep -q 'raspberrypi'; then install_bitcoin_binary else if ! install_bitcoin_from_source; then