From aee1b1783341db54b3eaab481ba57dda0f53e30c Mon Sep 17 00:00:00 2001 From: tb14 Date: Mon, 3 Feb 2025 12:32:38 -0600 Subject: [PATCH] setup script os support function --- AmRRON-Setup-Script.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/AmRRON-Setup-Script.sh b/AmRRON-Setup-Script.sh index e8a32ae..23a7b1c 100755 --- a/AmRRON-Setup-Script.sh +++ b/AmRRON-Setup-Script.sh @@ -1,9 +1,9 @@ #!/bin/bash ################################################################################ ################################################################################ -######################## AmRRON Setup Script v1.1 ######################## +######################## AmRRON Setup Script v1.2 ######################## ######################## Created by TB-14 ######################## -######################## 26 JAN 2025 ######################## +######################## 03 FEB 2025 ######################## ################################################################################ ################################################################################ # @@ -643,6 +643,7 @@ tested.\n\nThis installer has been tested on Raspberry Pi OS Buster and Bullseye fi } +function check_os_support() { # Compatibility check for OS # if lsb_release command is on their system if hash lsb_release 2>/dev/null; then @@ -678,7 +679,7 @@ tested.\n\nThis installer has been tested on Raspberry Pi OS Buster and Bullseye esac ###Determine if we have a Pi4 - +} ### #create a finish trap @@ -4837,6 +4838,7 @@ exit 1 check_for_updates yad_install set_screen_size +check_os_support #check_repo_version check_installed_programs query_updates