diff --git a/install.sh b/install.sh index c0642c6..0558e4e 100755 --- a/install.sh +++ b/install.sh @@ -7,12 +7,15 @@ if [ "$(id -u)" != "0" ]; then fi # Check that we're running at least debian 12 or later -if [ "$(lsb_release -sc)" != "bookworm" ]; then - # This script must be run on Debian 12 Bookworm, you are running $(lsb_release -sc) - echo "This script must be run on Debian 12 Bookworm, you are running $(lsb_release -sc)" 1>&2 - exit 1 +if [ "$BYPASS_VERSION_CHECK" != "true" ]; then + if [ "$(lsb_release -sc)" != "bookworm" ]; then + # This script must be run on Debian 12 Bookworm, you are running $(lsb_release -sc) + echo "This script must be run on Debian 12 Bookworm, you are running $(lsb_release -sc)" 1>&2 + exit 1 + fi fi + # Install Flags # --edge - Install FreePBX Edge version