Page MenuHomeSoftware Heritage

ensure-customizations-work.sh
No OneTemporary

ensure-customizations-work.sh

#!/usr/bin/env bash
set -ex
source "$(dirname $0)/../install/_lib.sh"
source ../install/dc-detect-version.sh
# Negated version of ensure-customizations-not-present.sh, make changes in sync
echo "${_group}Ensure customizations work"
$dcr --no-deps web bash -c "if [ ! -e /created-by-enhance-image ]; then exit 1; fi"
$dcr --no-deps --entrypoint=/etc/sentry/entrypoint.sh sentry-cleanup bash -c "if [ ! -e /created-by-enhance-image ]; then exit 1; fi"
$dcr --no-deps web python -c "import ldap"
$dcr --no-deps --entrypoint=/etc/sentry/entrypoint.sh sentry-cleanup python -c "import ldap"
echo "${_endgroup}"

File Metadata

Mime Type
text/x-shellscript
Expires
Fri, Jul 4, 12:33 PM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3250182

Event Timeline