summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-07-03 11:20:36 +0100
committerJoe Carstairs <me@joeac.net>2026-07-03 11:20:36 +0100
commit888df5c664bc51b52dcaede358884b13a51dd8e7 (patch)
tree79552fa9a65b02be6d9afdcf44cf261bac23c79c
parent220394ed0d6cff3038f949ce9d77d52a74ba3ae0 (diff)
install.sh: replaces doas with sudo
-rw-r--r--install.sh18
1 files changed, 9 insertions, 9 deletions
diff --git a/install.sh b/install.sh
index 7dd86c6..de553e4 100644
--- a/install.sh
+++ b/install.sh
@@ -4,19 +4,19 @@ set -e
if [ -z "$(which podman 2>/dev/null)" ]
then
- doas apk add podman
+ sudo apk add podman
fi
if [ -z "$(which podman-compose 2>/dev/null)" ]
then
- doas apk add podman-compose
+ sudo apk add podman-compose
fi
if [ -z "$(which yq 2>/dev/null)" ]
then
YQ_PLATFORM="linux_$(expr "$(arch)" : "armv7" && echo arm || expr "$(arch)" : "x86_64" && echo amd64 || arch)"
- doas wget -O /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_${YQ_PLATFORM}
- doas chmod +x /usr/local/bin/yq
+ sudo wget -O /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_${YQ_PLATFORM}
+ sudo chmod +x /usr/local/bin/yq
fi
if [ -z "$(which envsubst 2>/dev/null)" ]
@@ -24,22 +24,22 @@ then
if [ "$(arch)" = "x86_64" ] || [ "$(arch)" = "arm64" ]
then
ENVSUBST_VERSION=1.4.3
- doas wget -O /usr/local/bin/envsubst https://github.com/a8m/envsubst/releases/download/v${ENVSUBST_VERSION}/envsubst-Linux-$(arch)
- doas chmod +x /usr/local/bin/envsubst
+ sudo wget -O /usr/local/bin/envsubst https://github.com/a8m/envsubst/releases/download/v${ENVSUBST_VERSION}/envsubst-Linux-$(arch)
+ sudo chmod +x /usr/local/bin/envsubst
else
- doas apk add go
+ sudo apk add go
go install github.com/a8m/envsubst/cmd/envsubst@latest
fi
fi
if [ -z "$(which bash 2>/dev/null)" ]
then
- doas apk add bash
+ sudo apk add bash
fi
if [ -z "$(grep "\bjoeac.net\b" /etc/group)" ]
then
- doas adduser -h /home/joeac.net joeac.net
+ sudo adduser -h /home/joeac.net joeac.net
fi
cd /home/joeac.net