eval/pacman-key,update

This commit is contained in:
Marc Beninca 2024-09-06 23:54:37 +02:00
parent f136bd1f07
commit 81db5ca397
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1205,10 +1205,11 @@ Dir::Etc::SourceParts \"\";
esac
case "${SPCD_OS_ID}" in
"${SPCD_OS_ARCH}")
pacman-key --init
spcd_eval pacman-key --init
;;
"${SPCD_OS_DEBIAN}" | "${SPCD_OS_UBUNTU}")
export DEBIAN_FRONTEND="noninteractive"
spcd_os_printenv DEBIAN_FRONTEND
;;
*) ;;
esac
@ -1246,11 +1247,11 @@ SSLVerify = No
spcd_step__packages_update_catalog() {
spcd_step "Update catalog"
case "${SPCD_PM}" in
"${SPCD_PM_APK}") apk update ;;
"${SPCD_PM_APT}") apt-get update ;;
"${SPCD_PM_DNF}") dnf makecache ;;
"${SPCD_PM_PACMAN}") pacman --sync --refresh ;;
"${SPCD_PM_ZYPPER}") zypper refresh ;;
"${SPCD_PM_APK}") spcd_eval apk update ;;
"${SPCD_PM_APT}") spcd_eval apt-get update ;;
"${SPCD_PM_DNF}") spcd_eval dnf makecache ;;
"${SPCD_PM_PACMAN}") spcd_eval pacman --sync --refresh ;;
"${SPCD_PM_ZYPPER}") spcd_eval zypper refresh ;;
*) ;;
esac
}