mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
setup script os support function
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user