mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 03:27:05 +00:00
19 lines
637 B
Bash
19 lines
637 B
Bash
#!/bin/bash -e
|
|
################################################################################
|
|
## File: build-essential.sh
|
|
## Desc: Installs build-essential package
|
|
################################################################################
|
|
|
|
source $HELPER_SCRIPTS/install.sh
|
|
|
|
PACKAGE=build-essential
|
|
|
|
# Test to see if the software in question is already installed, if not install it
|
|
echo "Checking to see if the installer script has already been run"
|
|
if ! IsPackageInstalled $PACKAGE; then
|
|
echo "Installing $PACKAGE"
|
|
apt-get install -y --no-install-recommends $PACKAGE
|
|
else
|
|
echo "$PACKAGE is already installed"
|
|
fi
|