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 case "$DISTRO" in
alpine) alpine)
apk add $IPE_APK_FLAGS $PACKAGES_PERSISTENT_NEW $PACKAGES_VOLATILE apk add $IPE_APK_FLAGS $PACKAGES_PERSISTENT_NEW $PACKAGES_VOLATILE
apk upgrade
;; ;;
debian) debian)
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -qq -y $PACKAGES_PERSISTENT_NEW $PACKAGES_VOLATILE 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 errexit
set -o nounset set -o nounset
wget -qO /dev/null https://www.google.com && echo wget works
apk update apk update
apk del libzip apk del libzip
apk add ebook-tools # <- uses libzip apk add ebook-tools # <- uses libzip
CI=true ./install-php-extensions zip # <- uses libzip CI=true ./install-php-extensions zip # <- uses libzip
apk del ebook-tools apk del ebook-tools
php --ri zip php --ri zip
wget -qO /dev/null https://www.google.com && echo wget works