Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

feat(install): add postmarketos to the supported distributions (#6909)

Hendra Manudinata787468f73c09
diff --git a/scripts/install.sh b/scripts/install.sh
index d849509aa0..da3ffa095d 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -331,7 +331,7 @@ if [ -z "$LATEST_REALTIME_VERSION" ]; then
fi
case "$OS_TYPE" in
-arch | ubuntu | debian | raspbian | centos | fedora | rhel | ol | rocky | sles | opensuse-leap | opensuse-tumbleweed | almalinux | amzn | alpine) ;;
+arch | ubuntu | debian | raspbian | centos | fedora | rhel | ol | rocky | sles | opensuse-leap | opensuse-tumbleweed | almalinux | amzn | alpine | postmarketos) ;;
*)
echo "This script only supports Debian, Redhat, Arch Linux, Alpine Linux, or SLES based operating systems for now."
exit
@@ -370,7 +370,7 @@ else
arch)
pacman -Sy --noconfirm --needed curl wget git jq openssl >/dev/null || true
;;
- alpine)
+ alpine | postmarketos)
sed -i '/^#.*\/community/s/^#//' /etc/apk/repositories
apk update >/dev/null
apk add curl wget git jq openssl >/dev/null
@@ -437,7 +437,7 @@ if [ "$SSH_DETECTED" = "false" ]; then
systemctl enable sshd >/dev/null 2>&1
systemctl start sshd >/dev/null 2>&1
;;
- alpine)
+ alpine | postmarketos)
apk add openssh >/dev/null
rc-update add sshd default >/dev/null 2>&1
service sshd start >/dev/null 2>&1
@@ -558,7 +558,7 @@ if ! [ -x "$(command -v docker)" ]; then
systemctl start docker >/dev/null 2>&1
systemctl enable docker >/dev/null 2>&1
;;
- "alpine")
+ "alpine" | "postmarketos")
apk add docker docker-cli-compose >/dev/null 2>&1
rc-update add docker default >/dev/null 2>&1
service docker start >/dev/null 2>&1