2020-10-07 13:49:40 +05:00
|
|
|
#!/bin/bash -e
|
2019-12-13 09:48:00 -05:00
|
|
|
################################################################################
|
|
|
|
|
## File: build-essential.sh
|
|
|
|
|
## Desc: Installs build-essential package
|
|
|
|
|
################################################################################
|
|
|
|
|
|
2020-07-08 22:28:23 +03:00
|
|
|
source $HELPER_SCRIPTS/install.sh
|
2019-12-13 09:48:00 -05:00
|
|
|
|
|
|
|
|
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"
|
2020-07-09 15:14:28 +03:00
|
|
|
if ! IsPackageInstalled $PACKAGE; then
|
2019-12-13 09:48:00 -05:00
|
|
|
echo "Installing $PACKAGE"
|
|
|
|
|
apt-get install -y --no-install-recommends $PACKAGE
|
|
|
|
|
else
|
|
|
|
|
echo "$PACKAGE is already installed"
|
|
|
|
|
fi
|