This commit is contained in:
Marc Beninca 2024-05-23 20:20:40 +02:00
parent e13ffce691
commit ae2be11025
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

10
cd.sh
View file

@ -153,7 +153,7 @@ cd_set_environment_variables () {
"${CD_PM_DNF}") "${CD_PM_DNF}")
CD_PM_CLEAN="dnf clean all" CD_PM_CLEAN="dnf clean all"
CD_PM_INSTALL="dnf install --assumeyes" CD_PM_INSTALL="dnf install --assumeyes"
CD_CMD_QUERY="rpm --query" CD_PM_QUERY="rpm --query"
CD_CMD_UPDATE="dnf makecache" CD_CMD_UPDATE="dnf makecache"
CD_CMD_UPGRADE="dnf upgrade --assumeyes" CD_CMD_UPGRADE="dnf upgrade --assumeyes"
CD_PKG_PKG="" CD_PKG_PKG=""
@ -172,7 +172,7 @@ skip_if_unavailable=False
"${CD_PM_APK}") "${CD_PM_APK}")
CD_PM_CLEAN="apk cache purge" CD_PM_CLEAN="apk cache purge"
CD_PM_INSTALL="apk add" CD_PM_INSTALL="apk add"
CD_CMD_QUERY="apk info" CD_PM_QUERY="apk info"
CD_CMD_UPDATE="apk update" CD_CMD_UPDATE="apk update"
CD_CMD_UPGRADE="apk upgrade" CD_CMD_UPGRADE="apk upgrade"
CD_PKG_PKG="" CD_PKG_PKG=""
@ -184,7 +184,7 @@ skip_if_unavailable=False
"${CD_PM_PACMAN}") "${CD_PM_PACMAN}")
CD_PM_CLEAN="pacman --sync --clean --noconfirm" CD_PM_CLEAN="pacman --sync --clean --noconfirm"
CD_PM_INSTALL="pacman --sync --noconfirm" CD_PM_INSTALL="pacman --sync --noconfirm"
CD_CMD_QUERY="pacman --query" CD_PM_QUERY="pacman --query"
CD_CMD_UPDATE="pacman --sync --refresh" CD_CMD_UPDATE="pacman --sync --refresh"
CD_CMD_UPGRADE="pacman --sync --sysupgrade --noconfirm" CD_CMD_UPGRADE="pacman --sync --sysupgrade --noconfirm"
CD_PKG_PKG="" CD_PKG_PKG=""
@ -196,7 +196,7 @@ skip_if_unavailable=False
"${CD_PM_APT}") "${CD_PM_APT}")
CD_PM_CLEAN="apt-get clean" CD_PM_CLEAN="apt-get clean"
CD_PM_INSTALL="apt-get install --assume-yes" CD_PM_INSTALL="apt-get install --assume-yes"
CD_CMD_QUERY="dpkg-query --show" CD_PM_QUERY="dpkg-query --show"
CD_CMD_UPDATE="apt-get update" CD_CMD_UPDATE="apt-get update"
CD_CMD_UPGRADE="apt-get upgrade --assume-yes" CD_CMD_UPGRADE="apt-get upgrade --assume-yes"
CD_PKG_PKG="apt-utils" CD_PKG_PKG="apt-utils"
@ -214,7 +214,7 @@ Dir::Etc::SourceParts \"\";
esac esac
cd_split cd_split
cd_echo "CD_PM_CLEAN" \ cd_echo "CD_PM_CLEAN" \
"CD_PM_INSTALL" "CD_CMD_QUERY" "CD_CMD_UPDATE" "CD_CMD_UPGRADE" "CD_PM_INSTALL" "CD_PM_QUERY" "CD_CMD_UPDATE" "CD_CMD_UPGRADE"
cd_split cd_split
cd_echo "CD_PKG_PKG" "CD_PM_CONF_PATH" "CD_PM_HTTPS_PATH" cd_echo "CD_PKG_PKG" "CD_PM_CONF_PATH" "CD_PM_HTTPS_PATH"
# specific # specific