mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-22 15:36:52 +00: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
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
if [ "$PHP_DEPS_ARE_INSTALLED" = 1 ]; then
|
||||||
rm -rf /tmp/pear
|
rm -rf /tmp/pear
|
||||||
runDeps="$( \
|
runDeps="$( \
|
||||||
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
|
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
|
# shellcheck disable=SC2086
|
||||||
apk add --virtual .nextcloud-phpext-rundeps $runDeps >/dev/null
|
apk add --virtual .nextcloud-phpext-rundeps $runDeps >/dev/null
|
||||||
apk del .build-deps >/dev/null
|
apk del .build-deps >/dev/null
|
||||||
|
fi
|
||||||
|
fi
|
||||||
touch /additional-php-extensions-are-installed
|
touch /additional-php-extensions-are-installed
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue