Files
configure-server/.includes/functions.sh
2026-04-16 19:46:49 -04:00

10 lines
333 B
Bash

#!/usr/bin/env bash
install_package() {
# `sudoFlags` is initialized by the main launcher before sourcing this file.
# shellcheck disable=SC2154
yay --sudoflags "${sudoFlags[@]}" --sudoloop --noconfirm -Syu
# shellcheck disable=SC2154
yay --sudoflags "${sudoFlags[@]}" --sudoloop --needed --noconfirm -Sy "$@"
}