Admin theme
This commit is contained in:
parent
81c82c3da8
commit
1a5ece3f7d
1 changed files with 2 additions and 3 deletions
|
|
@ -24,6 +24,7 @@ if [ "$HAS_TABLES" = "1" ]; then
|
||||||
$DRUSH config:import -y 2>/dev/null && \
|
$DRUSH config:import -y 2>/dev/null && \
|
||||||
echo "[entrypoint] Config imported." || \
|
echo "[entrypoint] Config imported." || \
|
||||||
echo "[entrypoint] No config to import, continuing."
|
echo "[entrypoint] No config to import, continuing."
|
||||||
|
$DRUSH theme:enable claro_compact -y
|
||||||
else
|
else
|
||||||
echo "[entrypoint] Fresh database, installing Drupal..."
|
echo "[entrypoint] Fresh database, installing Drupal..."
|
||||||
$DRUSH site:install standard \
|
$DRUSH site:install standard \
|
||||||
|
|
@ -41,10 +42,8 @@ else
|
||||||
$DRUSH en -y riverside_pt
|
$DRUSH en -y riverside_pt
|
||||||
echo "[entrypoint] Modules enabled."
|
echo "[entrypoint] Modules enabled."
|
||||||
|
|
||||||
echo "[entrypoint] Setting themes..."
|
echo "[entrypoint] Setting themes..."
|
||||||
$DRUSH theme:enable olivero claro_compact
|
$DRUSH theme:enable olivero claro_compact
|
||||||
$DRUSH config:set system.theme default olivero -y
|
|
||||||
$DRUSH config:set system.theme admin claro_compact -y
|
|
||||||
echo "[entrypoint] Themes set."
|
echo "[entrypoint] Themes set."
|
||||||
|
|
||||||
if ls /var/www/html/config/sync/*.yml >/dev/null 2>&1; then
|
if ls /var/www/html/config/sync/*.yml >/dev/null 2>&1; then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue