Files
docker-deployment/build/scripts/facette.sh
2018-06-10 10:53:35 +02:00

18 lines
420 B
Bash

## Configuration
export_env FACETTE_VERSION 0.4.0
export_env FACETTE_PACKAGE facette_${FACETTE_VERSION}_$DEBIAN-amd64.deb
## Dependencies
apt_install_permanent librrd8 mime-support
## Facette
cd /opt
wget https://github.com/facette/facette/releases/download/$FACETTE_VERSION/$FACETTE_PACKAGE
dpkg -i $FACETTE_PACKAGE
## Remove installation files
if [ $MODE == "minimal" ]; then
cd /opt
rm $FACETTE_PACKAGE
fi