Add bypass for ver check (dont use unless you know what you're doing)

This commit is contained in:
Christopher Cookman 2024-12-03 16:47:38 -07:00
parent f6239e52e8
commit bba7ba1c82

View file

@ -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