Browse Source

debian_packages

main
pvincent 18 hours ago
parent
commit
64d2d8d45c
  1. 5
      install.sh

5
install.sh

@ -3,6 +3,7 @@
# CONSTANTS
BASEDIR=$(dirname "$0")
DEBIAN_PACKAGES="curl git build-essential libssl-dev libreadline-dev zlib1g-dev"
# FUNCTIONS
@ -70,7 +71,9 @@ function install_miaou_bash {
}
function install_debian_packages {
sudo apt-get install -y git build-essential libssl-dev libreadline-dev zlib1g-dev
if ! dpkg -l "$DEBIAN_PACKAGES" | tail -n +6 | grep -v ^ii; then
sudo apt-get install -y "$DEBIAN_PACKAGES"
fi
}
# MAIN

Loading…
Cancel
Save