Skip to content
Permalink
c4a53bd575
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 46 lines (40 sloc) 587 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
g++
git
imagemagick-6.q16
libavformat-dev
libbz2-dev
libpango1.0-dev
libpq-dev
libreadline-dev
libssl-dev
libtiff-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