mirror of
https://github.com/actions/runner-images.git
synced 2025-12-17 23:28:57 +00:00
Another mop up commit to add missing changes from the last mop-up.
This commit is contained in:
@@ -1,24 +1,24 @@
|
||||
#!/bin/bash
|
||||
################################################################################
|
||||
## File: build-essential.sh
|
||||
## Desc: Installs build-essential package
|
||||
################################################################################
|
||||
|
||||
# Source the helpers for use with the script
|
||||
source $HELPER_SCRIPTS/document.sh
|
||||
source $HELPER_SCRIPTS/apt.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 ! IsInstalled $PACKAGE; then
|
||||
echo "Installing $PACKAGE"
|
||||
apt-get install -y --no-install-recommends $PACKAGE
|
||||
else
|
||||
echo "$PACKAGE is already installed"
|
||||
fi
|
||||
|
||||
# Document what was added to the image
|
||||
echo "Lastly, documenting what we added to the metadata file"
|
||||
DocumentInstalledItem "$PACKAGE"
|
||||
#!/bin/bash
|
||||
################################################################################
|
||||
## File: build-essential.sh
|
||||
## Desc: Installs build-essential package
|
||||
################################################################################
|
||||
|
||||
# Source the helpers for use with the script
|
||||
source $HELPER_SCRIPTS/document.sh
|
||||
source $HELPER_SCRIPTS/apt.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 ! IsInstalled $PACKAGE; then
|
||||
echo "Installing $PACKAGE"
|
||||
apt-get install -y --no-install-recommends $PACKAGE
|
||||
else
|
||||
echo "$PACKAGE is already installed"
|
||||
fi
|
||||
|
||||
# Document what was added to the image
|
||||
echo "Lastly, documenting what we added to the metadata file"
|
||||
DocumentInstalledItem "$PACKAGE"
|
||||
|
||||
Reference in New Issue
Block a user