Run apk update before determining the required Alpine packages
We should need the updated package list when building the dependency listpull/118/head
parent
08727c5685
commit
069a637113
|
@ -206,6 +206,11 @@ buildRequiredPackageLists() {
|
||||||
buildRequiredPackageLists_distro="$(getDistro)"
|
buildRequiredPackageLists_distro="$(getDistro)"
|
||||||
buildRequiredPackageLists_distroVersion="$(getDistroVersion)"
|
buildRequiredPackageLists_distroVersion="$(getDistroVersion)"
|
||||||
buildRequiredPackageLists_phpv=$1
|
buildRequiredPackageLists_phpv=$1
|
||||||
|
case "$buildRequiredPackageLists_distro" in
|
||||||
|
alpine)
|
||||||
|
apk update
|
||||||
|
;;
|
||||||
|
esac
|
||||||
case "$buildRequiredPackageLists_distroVersion" in
|
case "$buildRequiredPackageLists_distroVersion" in
|
||||||
alpine@*)
|
alpine@*)
|
||||||
buildRequiredPackageLists_volatile="$PHPIZE_DEPS"
|
buildRequiredPackageLists_volatile="$PHPIZE_DEPS"
|
||||||
|
@ -644,9 +649,6 @@ buildRequiredPackageLists() {
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
case "$buildRequiredPackageLists_distro" in
|
case "$buildRequiredPackageLists_distro" in
|
||||||
alpine)
|
|
||||||
apk update
|
|
||||||
;;
|
|
||||||
debian)
|
debian)
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get update -q
|
DEBIAN_FRONTEND=noninteractive apt-get update -q
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue