Merge pull request #387 from mlocati/fix-apk-dependencies

Fix APK dependencies after installyng APK packages
pull/388/head 1.2.42
Michele Locati 2021-07-12 16:56:35 +02:00 committed by GitHub
commit 70747bf2da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -1192,6 +1192,7 @@ installRequiredPackages() {
case "$DISTRO" in
alpine)
apk add $IPE_APK_FLAGS $PACKAGES_PERSISTENT_NEW $PACKAGES_VOLATILE
apk upgrade
;;
debian)
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -qq -y $PACKAGES_PERSISTENT_NEW $PACKAGES_VOLATILE

View File

@ -4,9 +4,11 @@
set -o errexit
set -o nounset
wget -qO /dev/null https://www.google.com && echo wget works
apk update
apk del libzip
apk add ebook-tools # <- uses libzip
CI=true ./install-php-extensions zip # <- uses libzip
apk del ebook-tools
php --ri zip
wget -qO /dev/null https://www.google.com && echo wget works