mv
This commit is contained in:
parent
a8e8e29912
commit
261540d503
1 changed files with 12 additions and 12 deletions
|
@ -1038,6 +1038,18 @@ spcd_f_pm_query() {
|
|||
esac
|
||||
}
|
||||
|
||||
spcd_f_pm_upgrade() {
|
||||
spcd_step "Upgrade"
|
||||
case "${SPCD_PM}" in
|
||||
"${SPCD_PM_APK}") spcd_run apk upgrade ;;
|
||||
"${SPCD_PM_APT}") spcd_run apt-get upgrade --assume-yes ;;
|
||||
"${SPCD_PM_DNF}") spcd_run dnf upgrade --assumeyes ;;
|
||||
"${SPCD_PM_PACMAN}") spcd_run pacman --sync --sysupgrade --noconfirm ;;
|
||||
"${SPCD_PM_ZYPPER}") spcd_run zypper --non-interactive update ;;
|
||||
*) ;;
|
||||
esac
|
||||
}
|
||||
|
||||
# ╭───┬─────╮
|
||||
# │ s │ dns │
|
||||
# ╰───┴─────╯
|
||||
|
@ -1355,18 +1367,6 @@ spcd_step__packages_verify_https() {
|
|||
fi
|
||||
}
|
||||
|
||||
spcd_f_pm_upgrade() {
|
||||
spcd_step "Upgrade"
|
||||
case "${SPCD_PM}" in
|
||||
"${SPCD_PM_APK}") spcd_run apk upgrade ;;
|
||||
"${SPCD_PM_APT}") spcd_run apt-get upgrade --assume-yes ;;
|
||||
"${SPCD_PM_DNF}") spcd_run dnf upgrade --assumeyes ;;
|
||||
"${SPCD_PM_PACMAN}") spcd_run pacman --sync --sysupgrade --noconfirm ;;
|
||||
"${SPCD_PM_ZYPPER}") spcd_run zypper --non-interactive update ;;
|
||||
*) ;;
|
||||
esac
|
||||
}
|
||||
|
||||
spcd_step__packages_install_dos2unix() {
|
||||
spcd_step "Install dos2unix"
|
||||
spcd_f_pm_install "dos2unix"
|
||||
|
|
Loading…
Reference in a new issue