setup update complete

This commit is contained in:
2026-09-21 06:48:49 -06:00
parent b67a76d0da
commit 7b2b01e022
38 changed files with 1376 additions and 848 deletions
+23
View File
@@ -0,0 +1,23 @@
#####################################################################
setup.packages.installer.dnf.update-repositories() {
: \
&& sudo dnf update \
&& sudo dnf upgrade \
&& sudo dnf install -y dnf-plugins-core \
&& sudo dnf config-manager addrepo --from-repofile=https://download.docker.com/linux/fedora/docker-ce.repo \
;
}
setup.packages.installer.dnf.list-installed() { rpm -qa --qf '%{NAME}\n' 2>/dev/null; }
setup.packages.installer.dnf.install-batch() { sudo dnf install -y "${@}"; }
setup.packages.installer.dnf.install-managed() {
local target="${1}"
echo.status "checking / installing '${target}'"
sudo dnf install -y "${target}" \
&& echo.success "'${target}' installed" \
|| echo.error "failed to install ${target}" \
;
}