Add shellcheck to install-essentials

This commit is contained in:
Rémy Coutable 2024-04-09 11:21:31 +00:00 committed by Balasankar 'Balu' C
parent ace7190648
commit 611398b0ec

View file

@ -6,28 +6,16 @@ IFS=$'\n\t'
# We install `git-core` as some tooling expect `/usr/bin/git` # We install `git-core` as some tooling expect `/usr/bin/git`
# other tools that rely on PATH ordering will pick a one in `/usr/local` # other tools that rely on PATH ordering will pick a one in `/usr/local`
# if present # if present
function install_debian_bullseye_deps() { function install_debian_deps() {
apt-get install -y \ apt-get install -y \
curl wget build-essential apt-utils clang locales openssh-client \ apt-utils build-essential ca-certificates clang cmake curl \
libclang-dev libssl-dev libyaml-dev libreadline-dev llvm-dev zlib1g-dev \ gettext git-core libclang-dev libcurl4-openssl-dev libevent-dev \
libncurses5-dev libffi-dev ca-certificates libxml2-dev \ libffi-dev libicu-dev libjpeg-dev libkrb5-dev libncurses5-dev \
libxslt1-dev libcurl4-openssl-dev libicu-dev \ libpng-dev libpq-dev libre2-dev libreadline-dev libsqlite3-dev \
logrotate python3-docutils pkg-config cmake \ libssl-dev libxml2-dev libxslt1-dev libyaml-dev libzstd-dev \
libkrb5-dev postgresql-client unzip \ llvm-dev locales logrotate lsb-release openssh-client pkg-config \
libsqlite3-dev libpq-dev libpng-dev libjpeg-dev libzstd-dev \ postgresql-client python3-docutils rsync shellcheck unzip wget \
libre2-dev libevent-dev gettext rsync git-core lsb-release zlib1g-dev
}
function install_debian_bookworm_deps() {
apt-get install -y \
curl wget build-essential apt-utils clang locales openssh-client \
libclang-dev libssl-dev libyaml-dev libreadline-dev llvm-dev zlib1g-dev \
libncurses5-dev libffi-dev ca-certificates libxml2-dev \
libxslt1-dev libcurl4-openssl-dev libicu-dev \
logrotate python3-docutils pkg-config cmake \
libkrb5-dev postgresql-client unzip \
libsqlite3-dev libpq-dev libpng-dev libjpeg-dev libzstd-dev \
libre2-dev libevent-dev gettext rsync git-core lsb-release
} }
function prepare_debian_environment() { function prepare_debian_environment() {
@ -38,10 +26,8 @@ function prepare_debian_environment() {
VERSION=`cat /etc/issue | cut -d ' ' -f 3` VERSION=`cat /etc/issue | cut -d ' ' -f 3`
case "$VERSION" in case "$VERSION" in
11) 11|12)
install_debian_bullseye_deps;; install_debian_deps;;
12)
install_debian_bookworm_deps;;
esac esac
# Set UTF-8 # Set UTF-8