2020-01-23 12:48:18 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Let's set a sane environment
|
|
|
|
set -o errexit
|
|
|
|
set -o nounset
|
|
|
|
|
|
|
|
apt-get update -qq
|
2020-01-23 13:54:42 +00:00
|
|
|
apt-get upgrade -qqy
|
2020-01-23 12:48:18 +00:00
|
|
|
apt-get install -qqy libssl-dev
|
|
|
|
|
2021-01-14 16:05:23 +00:00
|
|
|
CI=true ./install-php-extensions zip
|
2020-01-23 12:48:18 +00:00
|
|
|
|
|
|
|
if test -z "$(dpkg --get-selections | grep -E '^libssl-dev[:\s].*install$')"; then
|
|
|
|
echo 'The libssl-dev APT package has not been restored.' >&2
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo 'The libssl-dev APT package has been correctly restored.'
|