Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ fi

# Check if Ubuntu is 24.04 LTS Release. If not, exit.
UBUNTU_VERSION="$(lsb_release -sr)"
Noble=24.04
UBUNTU_VERSION_INT="$(tr -d '.' <<<"$UBUNTU_VERSION")"
NOBLE_INT=2404

if (( $(bc <<<"$UBUNTU_VERSION != $Noble") )); then
if (( UBUNTU_VERSION_INT != NOBLE_INT )); then
Comment on lines +40 to +43
echo "ALERT:"
echo "EngineScript does not support Ubuntu $UBUNTU_VERSION. We recommend using Ubuntu 24.04 LTS"
exit 1
Expand Down Expand Up @@ -197,7 +198,7 @@ if [[ "${ALIAS}" = 1 ]];
fi

# Cleanup
apt-get remove apache2* php7* php8* -y
apt-get remove --purge 'apache2*' 'php7*' 'php8*' -y

# Update & Upgrade
apt update --allow-releaseinfo-change -y
Expand Down
Loading