Dotfiles/setup/modules/optional-Modules/apps/imagemagick.sh

12 lines
520 B
Bash
Executable File

#!/bin/bash
# Exit immediately on error, treat unset variables as errors, propagate pipe failures.
set -euo pipefail
# Load shared log/skip/warn/err helpers from the installer library.
source "$(dirname "${BASH_SOURCE[0]}")/../../lib/logging.sh"
log "Installing ImageMagick..."
# ImageMagick provides the convert/mogrify/identify CLI tools for image manipulation,
# format conversion, and batch processing. It is in the official Arch repos.
sudo pacman -S --noconfirm --needed imagemagick
log "ImageMagick installed."