Skip to content

Commit

Permalink
Add support for Ubuntu 24.04
Browse files Browse the repository at this point in the history
Fixes bluesky-social#84

* Additionally update the readme.md to reflect Ubuntu 23.10

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/bluesky-social/pds/issues/84?shareId=XXXX-XXXX-XXXX-XXXX).
  • Loading branch information
jensenbox committed Nov 16, 2024
1 parent b595125 commit ee92b84
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
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

0 comments on commit ee92b84

Please sign in to comment.