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