Files
testing/scripts/provision-common.sh
T

16 lines
334 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y ca-certificates curl git unzip
if ! command -v deno >/dev/null 2>&1; then
curl -fsSL https://deno.land/install.sh | DENO_INSTALL=/usr/local sh
fi
if [ -d /uptime.link ]; then
chown -R vagrant:vagrant /uptime.link
fi