Add bypass for ver check (dont use unless you know what you're doing)
This commit is contained in:
parent
f6239e52e8
commit
bba7ba1c82
11
install.sh
11
install.sh
|
@ -7,12 +7,15 @@ if [ "$(id -u)" != "0" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check that we're running at least debian 12 or later
|
# Check that we're running at least debian 12 or later
|
||||||
if [ "$(lsb_release -sc)" != "bookworm" ]; then
|
if [ "$BYPASS_VERSION_CHECK" != "true" ]; then
|
||||||
# This script must be run on Debian 12 Bookworm, you are running $(lsb_release -sc)
|
if [ "$(lsb_release -sc)" != "bookworm" ]; then
|
||||||
echo "This script must be run on Debian 12 Bookworm, you are running $(lsb_release -sc)" 1>&2
|
# This script must be run on Debian 12 Bookworm, you are running $(lsb_release -sc)
|
||||||
exit 1
|
echo "This script must be run on Debian 12 Bookworm, you are running $(lsb_release -sc)" 1>&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Install Flags
|
# Install Flags
|
||||||
# --edge - Install FreePBX Edge version
|
# --edge - Install FreePBX Edge version
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue