Skip to content
Permalink
main
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 47 lines (41 sloc) 595 Bytes
#!/bin/bash -x
if [ -e /etc/os-release ]; then
. /etc/os-release
fi
ID=${ID:-unset}
VERSION_ID=${VERSION_ID:-unset}
declare -a PKGS
PKGS=(
autoconf
autopoint
cargo
cmake
g++
git
imagemagick-6.q16
libavformat-dev
libbz2-dev
liblzma-dev
libpango1.0-dev
libpq-dev
libreadline-dev
libssl-dev
libtool
ninja-build
yasm
)
if [[ ${ID} = linuxmint ]]; then
PKGS+=(
libmysqlclient-dev
)
elif [[ ${ID} = debian ]]; then
PKGS+=(
default-libmysqlclient-dev
gettext
libmariadb-dev
poppler-utils
)
fi
for p in "${PKGS[@]}" ; do
apt --yes install "$p"
done