#!/bin/bash if [ -n "$FD_PLUGINS" ]; then apt-get update plugins=() for plugin in $FD_PLUGINS; do plugins+=("fusiondirectory-plugin-$plugin") done apt-get install -yy "${plugins[@]}" fi php-fpm7.4 nginx -g 'daemon off;'