parent
3435269d23
commit
80582ddf37
1 changed files with 6 additions and 6 deletions
12
cd.sh
12
cd.sh
|
@ -155,7 +155,7 @@ cd_set_environment_variables () {
|
|||
CD_PM_INSTALL="dnf install --assumeyes"
|
||||
CD_PM_QUERY="rpm --query"
|
||||
CD_PM_UPDATE="dnf makecache"
|
||||
CD_CMD_UPGRADE="dnf upgrade --assumeyes"
|
||||
CD_PM_UPGRADE="dnf upgrade --assumeyes"
|
||||
CD_PKG_PKG=""
|
||||
CD_PM_CONF_PATH="/etc/dnf/dnf.conf"
|
||||
CD_PM_CONF_TEXT="\
|
||||
|
@ -174,7 +174,7 @@ skip_if_unavailable=False
|
|||
CD_PM_INSTALL="apk add"
|
||||
CD_PM_QUERY="apk info"
|
||||
CD_PM_UPDATE="apk update"
|
||||
CD_CMD_UPGRADE="apk upgrade"
|
||||
CD_PM_UPGRADE="apk upgrade"
|
||||
CD_PKG_PKG=""
|
||||
CD_PM_CONF_PATH=""
|
||||
CD_PM_CONF_TEXT=""
|
||||
|
@ -186,7 +186,7 @@ skip_if_unavailable=False
|
|||
CD_PM_INSTALL="pacman --sync --noconfirm"
|
||||
CD_PM_QUERY="pacman --query"
|
||||
CD_PM_UPDATE="pacman --sync --refresh"
|
||||
CD_CMD_UPGRADE="pacman --sync --sysupgrade --noconfirm"
|
||||
CD_PM_UPGRADE="pacman --sync --sysupgrade --noconfirm"
|
||||
CD_PKG_PKG=""
|
||||
CD_PM_CONF_PATH=""
|
||||
CD_PM_CONF_TEXT=""
|
||||
|
@ -198,7 +198,7 @@ skip_if_unavailable=False
|
|||
CD_PM_INSTALL="apt-get install --assume-yes"
|
||||
CD_PM_QUERY="dpkg-query --show"
|
||||
CD_PM_UPDATE="apt-get update"
|
||||
CD_CMD_UPGRADE="apt-get upgrade --assume-yes"
|
||||
CD_PM_UPGRADE="apt-get upgrade --assume-yes"
|
||||
CD_PKG_PKG="apt-utils"
|
||||
CD_PM_CONF_PATH="/etc/apt/apt.conf.d/apt.conf"
|
||||
CD_PM_CONF_TEXT="\
|
||||
|
@ -214,7 +214,7 @@ Dir::Etc::SourceParts \"\";
|
|||
esac
|
||||
cd_split
|
||||
cd_echo "CD_PM_CLEAN" \
|
||||
"CD_PM_INSTALL" "CD_PM_QUERY" "CD_PM_UPDATE" "CD_CMD_UPGRADE"
|
||||
"CD_PM_INSTALL" "CD_PM_QUERY" "CD_PM_UPDATE" "CD_PM_UPGRADE"
|
||||
cd_split
|
||||
cd_echo "CD_PKG_PKG" "CD_PM_CONF_PATH" "CD_PM_HTTPS_PATH"
|
||||
# specific
|
||||
|
@ -487,7 +487,7 @@ cd_set_https_verification_on () {
|
|||
|
||||
cd_upgrade_packages () {
|
||||
cd_step "Upgrade packages"
|
||||
${CD_CMD_UPGRADE} || exit
|
||||
${CD_PM_UPGRADE} || exit
|
||||
}
|
||||
|
||||
cd_install_git () {
|
||||
|
|
Loading…
Reference in a new issue