Skip to content

Commit

Permalink
Merge pull request #33 from saganakat/saganakat-patch-1
Browse files Browse the repository at this point in the history
Fix issue [CFG] - Commands failing in old versions of DDEV #32
  • Loading branch information
davidjguru authored Jun 29, 2022
2 parents 0766806 + a0a1692 commit 9e1a4cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ddev/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ hooks:
- exec: "(drush status bootstrap | grep -q Successful) || (drush site-install --site-name=SummerHouse --account-name=admin --account-pass=admin --db-url=mysql://db:db@db/db -y && drush user-add-role 'administrator' admin)"
- exec-host: "yes |ddev drush cset system.site uuid $(head -n 1 ./.settings/salt.txt)"
- exec: "drush cr"
- exec-host: "([ $(ddev drush eval 'print_r(array_keys(\\Drupal::entityTypeManager()->getDefinitions()));' | grep shortcut -c) -gt 0 ] && (ddev drush entity:delete shortcut_set) || (echo 'No shortcut entities were found in your system.'))"
- exec: "([ $(drush eval 'print_r(array_keys(\\Drupal::entityTypeManager()->getDefinitions()));' | grep shortcut -c) -gt 0 ] && (drush entity:delete shortcut_set) || (echo 'No shortcut entities were found in your system.'))"
- exec: "drush pmu shortcut -y"
- exec: "drush cim -y"
- exec: "drush cr"
Expand Down

0 comments on commit 9e1a4cc

Please sign in to comment.