summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-07-03 11:17:46 +0100
committerJoe Carstairs <me@joeac.net>2026-07-03 11:17:46 +0100
commitcb3ad780b19aab351d8a582c81f983ac7b51b578 (patch)
tree0c3e91636e7b5436ff19bff8a3da9e99d5a6e095
parent9615c940bbe649577fc4018533a114c2269b84cd (diff)
install.sh: chmod +x in /usr needs doas
-rw-r--r--install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index 1cc7904..b960c09 100644
--- a/install.sh
+++ b/install.sh
@@ -16,7 +16,7 @@ if [ -z "$(which yq 2>/dev/null)" ]
then
YQ_PLATFORM="linux_$(expr "$(arch)" : "armv7" && echo arm || expr "$(arch)" : "x86_64" && echo amd64 || arch)"
wget -O /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_${YQ_PLATFORM}
- chmod +x /usr/local/bin/yq
+ doas chmod +x /usr/local/bin/yq
fi
if [ -z "$(which envsubst 2>/dev/null)" ]
@@ -25,7 +25,7 @@ then
then
ENVSUBST_VERSION=1.4.3
wget -O /usr/local/bin/envsubst https://github.com/a8m/envsubst/releases/download/v${ENVSUBST_VERSION}/envsubst-Linux-$(arch)
- chmod +x /usr/local/bin/envsubst
+ doas chmod +x /usr/local/bin/envsubst
else
doas apk add go
go install github.com/a8m/envsubst/cmd/envsubst@latest