From 9feb91e98641536b4310b99ae4c2157a62d365f7 Mon Sep 17 00:00:00 2001 From: Blazer Date: Sun, 5 May 2024 20:32:34 -0500 Subject: [PATCH] Update rpi.sh for 64-bit Raspberry Pi OS --- rpi.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/rpi.sh b/rpi.sh index 82f09f2f..ea512db8 100755 --- a/rpi.sh +++ b/rpi.sh @@ -1,10 +1,7 @@ #!/bin/bash -#location of OS details for linux -OS_RELEASE_FILE="/etc/os-release" - #check if Raspian OS is active, otherwise kill script -if grep -q "Raspbian" ${OS_RELEASE_FILE}; +if [ -f /etc/rpi-issue ]; then echo "Great this script works for RaspberryPI OS" else