laipower/wp-content/plugins/openid-connect-generic/.devcontainer/activate.sh

13 lines
247 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -eu
# Activate the plugin.
cd "/app"
echo "Activating plugin..."
if ! wp plugin is-active daggerhart-openid-connect-generic 2>/dev/null; then
wp plugin activate daggerhart-openid-connect-generic --quiet
fi
echo "Done!"