#!/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 Krita..."
# Krita is a professional digital painting application; available in the official repos.
# --noconfirm skips interactive prompts; --needed avoids reinstalling if current.
sudo pacman -S --noconfirm --needed krita
log "Krita installed."
