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

12 lines
533 B
Bash
Executable File

#!/bin/bash
# Exit immediately on error, treat unset variables as errors, propagate pipe failures.
set -euo pipefail
# Load shared log/warn/skip helpers from the installer library.
source "$(dirname "${BASH_SOURCE[0]}")/../../lib/logging.sh"
log "Installing OnlyOffice (AUR)..."
# onlyoffice-bin is the pre-compiled binary AUR package; building from source
# is not practical due to the large bundled Chromium-based rendering engine.
yay -S --answerdiff None --answerclean All --noconfirm onlyoffice-bin
log "OnlyOffice installed."