From 9918607f74174d88648ef6b938b463b7fd39488c Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 1 Jun 2025 13:14:58 +1200 Subject: [PATCH] 'Generic Commit' --- dropshell-build/src/dropshell-build | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dropshell-build/src/dropshell-build b/dropshell-build/src/dropshell-build index be65842..f307b88 100755 --- a/dropshell-build/src/dropshell-build +++ b/dropshell-build/src/dropshell-build @@ -40,6 +40,14 @@ function version() { # ---------------------------------------------------------------------------------------------------------- function check_packages() { + if [ -f /etc/os-release ]; then + . /etc/os-release + OS=$NAME +# VER=$VERSION_ID + else + print_error "Could not detect distribution" + exit 1 + fi # Define packages based on distribution case $OS in