setup script os support function

This commit is contained in:
tb14
2025-02-03 12:32:38 -06:00
parent f58c5751bd
commit aee1b17833
+5 -3
View File
@@ -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