mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-02-24 22:06:00 +08:00
fix removing of build dependencies
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
8c1e1a268e
commit
bf4ef11474
1 changed files with 12 additions and 10 deletions
|
@ -91,7 +91,7 @@ if [ -n "$ADDITIONAL_PHP_EXTENSIONS" ]; then
|
|||
fi
|
||||
fi
|
||||
done
|
||||
fi
|
||||
if [ "$PHP_DEPS_ARE_INSTALLED" = 1 ]; then
|
||||
rm -rf /tmp/pear
|
||||
runDeps="$( \
|
||||
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
|
||||
|
@ -102,6 +102,8 @@ if [ -n "$ADDITIONAL_PHP_EXTENSIONS" ]; then
|
|||
# shellcheck disable=SC2086
|
||||
apk add --virtual .nextcloud-phpext-rundeps $runDeps >/dev/null
|
||||
apk del .build-deps >/dev/null
|
||||
fi
|
||||
fi
|
||||
touch /additional-php-extensions-are-installed
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue