From 476c3d2b0d1d1a9915705613c1e5baccc25d3689 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 5 May 2024 22:09:26 +0200 Subject: [PATCH] arch/wip --- cd.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/cd.sh b/cd.sh index c65828a..a1b2398 100644 --- a/cd.sh +++ b/cd.sh @@ -152,6 +152,19 @@ skip_if_unavailable=False CD_PM_HTTPS_PATH="/etc/apk/repositories.d/https" CD_PM_HTTPS_TEXT="--no-verify" ;; + "${CD_OS_ARCH}") + CD_CMD_CLEAN="pacman --sync --clean --noconfirm" + CD_CMD_INSTALL="pacman --sync --noconfirm" + CD_CMD_QUERY="pacman --query" + CD_CMD_UPDATE="pacman --sync --refresh" + CD_CMD_UPGRADE="pacman --sync --sysupgrade --noconfirm" + # TODO + CD_PKG_PKG="" + CD_PM_CONF_PATH="" + CD_PM_CONF_TEXT="" + # TODO + # TODO + ;; "${CD_OS_DEBIAN}"|"${CD_OS_UBUNTU}") CD_CMD_CLEAN="apt-get clean" CD_CMD_INSTALL="apt-get install --assume-yes"