Add bypass for ver check (dont use unless you know what you're doing)
This commit is contained in:
parent
f6239e52e8
commit
bba7ba1c82
|
@ -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
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue