#!/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 Himalaya..." # Himalaya is now packaged in the official Arch repos as `himalaya`, so install # it with pacman. (The old AUR `himalaya-bin` binary package has been dropped.) # --needed skips the work if it is already installed. sudo pacman -S --noconfirm --needed himalaya log "Himalaya installed."