Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Ubuntu 24.04 #135

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Head over to the [AT Protocol PDS Admins Discord](https://discord.gg/e7hpHxRfBP)
* [Open your cloud firewall for HTTP and HTTPS](#open-your-cloud-firewall-for-http-and-https)
* [Configure DNS for your domain](#configure-dns-for-your-domain)
* [Check that DNS is working as expected](#check-that-dns-is-working-as-expected)
* [Installer on Ubuntu 20.04/22.04 and Debian 11/12](#installer-on-ubuntu-20042204-and-debian-1112)
* [Installer on Ubuntu 20.04/22.04/23.10/24.04 and Debian 11/12](#installer-on-ubuntu-2004220423102404-and-debian-1112)
* [Verifying that your PDS is online and accessible](#verifying-that-your-pds-is-online-and-accessible)
* [Creating an account using pdsadmin](#creating-an-account-using-pdsadmin)
* [Creating an account using an invite code](#creating-an-account-using-an-invite-code)
Expand Down Expand Up @@ -130,7 +130,7 @@ Examples to check (record type `A`):

These should all return your server's public IP.

### Installer on Ubuntu 20.04/22.04 and Debian 11/12
### Installer on Ubuntu 20.04/22.04/23.10/24.04 and Debian 11/12

On your server via ssh, download the installer script using wget:

Expand Down
5 changes: 4 additions & 1 deletion installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ function main {
elif [[ "${DISTRIB_CODENAME}" == "mantic" ]]; then
SUPPORTED_OS="true"
echo "* Detected supported distribution Ubuntu 23.10 LTS"
elif [[ "${DISTRIB_CODENAME}" == "noble" ]]; then
SUPPORTED_OS="true"
echo "* Detected supported distribution Ubuntu 24.04 LTS"
fi
elif [[ "${DISTRIB_ID}" == "debian" ]]; then
if [[ "${DISTRIB_CODENAME}" == "bullseye" ]]; then
Expand All @@ -108,7 +111,7 @@ function main {
fi

if [[ "${SUPPORTED_OS}" != "true" ]]; then
echo "Sorry, only Ubuntu 20.04, 22.04, Debian 11 and Debian 12 are supported by this installer. Exiting..."
echo "Sorry, only Ubuntu 20.04, 22.04, 23.10, 24.04, Debian 11 and Debian 12 are supported by this installer. Exiting..."
exit 1
fi

Expand Down