mirror of
https://github.com/mlocati/docker-php-extension-installer
synced 2025-05-08 16:17:20 +00:00
Tell apk that icu-data-en can be upgraded to icu-data-full (#774)
This commit is contained in:
parent
c4573cf2f1
commit
580cdccf54
3 changed files with 38 additions and 15 deletions
|
@ -4116,25 +4116,27 @@ cleanup() {
|
|||
fi
|
||||
done
|
||||
fi
|
||||
if test -n "$PACKAGES_VOLATILE"; then
|
||||
printf '### REMOVING UNNEEDED PACKAGES ###\n'
|
||||
case "$DISTRO" in
|
||||
alpine)
|
||||
case "$DISTRO" in
|
||||
alpine)
|
||||
if stringInList icu-libs "${PACKAGES_PERSISTENT_NEW:-}" && stringInList icu-data-en "${PACKAGES_PERSISTENT_NEW:-}"; then
|
||||
apk del icu-data-en >/dev/null 2>&1 || true
|
||||
fi
|
||||
if test -n "$PACKAGES_VOLATILE"; then
|
||||
printf '### REMOVING UNNEEDED PACKAGES ###\n'
|
||||
apk del --purge $PACKAGES_VOLATILE
|
||||
;;
|
||||
debian)
|
||||
fi
|
||||
;;
|
||||
debian)
|
||||
if test -n "$PACKAGES_VOLATILE"; then
|
||||
printf '### REMOVING UNNEEDED PACKAGES ###\n'
|
||||
DEBIAN_FRONTEND=noninteractive apt-get remove --purge -y $PACKAGES_VOLATILE
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if test -n "$PACKAGES_PREVIOUS"; then
|
||||
case "$DISTRO" in
|
||||
debian)
|
||||
fi
|
||||
if test -n "$PACKAGES_PREVIOUS"; then
|
||||
printf '### RESTORING PREVIOUSLY INSTALLED PACKAGES ###\n'
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -qqy --no-install-recommends --no-upgrade $IPE_APTGET_INSTALLOPTIONS $PACKAGES_PREVIOUS
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
docker-php-source delete
|
||||
rm -rf /tmp/src
|
||||
rm -rf /tmp/pickle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue