2020-02-19 01:15:30 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2022-01-20 01:17:07 +02:00
|
|
|
# This script gets run in weird environments that have been stripped of just
|
|
|
|
# about every inessential thing. In order to keep this script versatile, we
|
|
|
|
# just install 'sudo' and use it like normal if it doesn't exist. If it doesn't
|
|
|
|
# exist, we assume we're root. (Otherwise we ain't doing much of anything
|
|
|
|
# anyway.)
|
|
|
|
if ! command -V sudo; then
|
|
|
|
apt-get update
|
|
|
|
apt-get install -y --no-install-recommends sudo
|
|
|
|
fi
|
2020-02-19 01:15:30 +02:00
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get install -y --no-install-recommends \
|
2020-04-06 15:05:17 +02:00
|
|
|
asciidoctor \
|
2022-01-20 01:17:07 +02:00
|
|
|
zsh xz-utils liblz4-tool musl-tools \
|
|
|
|
brotli zstd
|