Skip to content
Permalink
v2.11.0
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 45 lines (39 sloc) 627 Bytes
#!/bin/bash
if [ -e /etc/os-release ]; then
. /etc/os-release
fi
ID=${ID:-unset}
VERSION_ID=${VERSION_ID:-unset}
declare -a PKGS
PKGS_APT=(
autoconf
autopoint
cargo
g++
git
imagemagick-6.q16
libavformat-dev
libbz2-dev
libpango1.0-dev
libpq-dev
libreadline-dev
libssl-dev
libtiff-dev
libtool
ninja-build
yasm
)
declare -a PKGS_APT_linuxmint
PKGS_APT_linuxmint=(
libmysqlclient-dev
)
declare -a PKGS_APT_debian
PKGS_APT_debian+=(
default-libmysqlclient-dev
gettext
libmariadb-dev
poppler-utils
)
for p in "${PKGS_APT[@]}" "${PKGS_APT_${ID}[@]}"; do
apt --yes install "$p"
done