Skip to content
Myr

ubuntu-install-packages

This file

Path

ci/ubuntu-install-packages

14 lines · 550 bytes

Last changed by

Not known.

History of this file

Take it

1#!/bin/sh23# This script gets run in weird environments that have been stripped of just4# about every inessential thing. In order to keep this script versatile, we5# just install 'sudo' and use it like normal if it doesn't exist. If it doesn't6# exist, we assume we're root. (Otherwise we ain't doing much of anything7# anyway.)8if ! command -V sudo; then9  apt-get update10  apt-get install -y --no-install-recommends sudo11fi12sudo apt-get update13sudo apt-get install -y --no-install-recommends \14  zsh xz-utils liblz4-tool musl-tools brotli zstd g++