eval/pacman-key,update
This commit is contained in:
parent
f136bd1f07
commit
81db5ca397
1 changed files with 7 additions and 6 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue