mv
This commit is contained in:
parent
e647554a48
commit
040b1f03e4
1 changed files with 12 additions and 12 deletions
|
@ -1038,6 +1038,18 @@ spcd_f_pm_query() {
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
spcd_f_pm_update() {
|
||||||
|
spcd_step "Update"
|
||||||
|
case "${SPCD_PM}" in
|
||||||
|
"${SPCD_PM_APK}") spcd_run apk update ;;
|
||||||
|
"${SPCD_PM_APT}") spcd_run apt-get update ;;
|
||||||
|
"${SPCD_PM_DNF}") spcd_run dnf makecache ;;
|
||||||
|
"${SPCD_PM_PACMAN}") spcd_run pacman --sync --refresh ;;
|
||||||
|
"${SPCD_PM_ZYPPER}") spcd_run zypper refresh ;;
|
||||||
|
*) ;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
spcd_f_pm_upgrade() {
|
spcd_f_pm_upgrade() {
|
||||||
spcd_step "Upgrade"
|
spcd_step "Upgrade"
|
||||||
case "${SPCD_PM}" in
|
case "${SPCD_PM}" in
|
||||||
|
@ -1273,18 +1285,6 @@ SSLVerify = No
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
spcd_f_pm_update() {
|
|
||||||
spcd_step "Update"
|
|
||||||
case "${SPCD_PM}" in
|
|
||||||
"${SPCD_PM_APK}") spcd_run apk update ;;
|
|
||||||
"${SPCD_PM_APT}") spcd_run apt-get update ;;
|
|
||||||
"${SPCD_PM_DNF}") spcd_run dnf makecache ;;
|
|
||||||
"${SPCD_PM_PACMAN}") spcd_run pacman --sync --refresh ;;
|
|
||||||
"${SPCD_PM_ZYPPER}") spcd_run zypper refresh ;;
|
|
||||||
*) ;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
spcd_step__packages_install_tools() {
|
spcd_step__packages_install_tools() {
|
||||||
spcd_step "Install tools"
|
spcd_step "Install tools"
|
||||||
case "${SPCD_PM}" in
|
case "${SPCD_PM}" in
|
||||||
|
|
Loading…
Reference in a new issue