#!/bin/sh export DEBIAN_FRONTEND=noninteractive if ! command -v magick &> /dev/null then apt install -y git git clone https://github.com/ImageMagick/ImageMagick.git .build-imagemagick cd .build-imagemagick ./configure make make install ldconfig /usr/local/lib fi