I have a script that runs various drush commands to install and configure a site every time the installer is run

I am using the core theme Seven as my default site theme.

With jquery_update 7.x-3.0-alpha2 my installer now ends up using jQuery 1.4, which is too old, it breaks my site.

Looking at the code of the new update_7001, I can see that it is looking for a variable called jquery_update_jquery_admin_version, so I tried the following drush commands, with no success:

drush -y dl jquery_update;
drush vset jquery_update_jquery_admin_version 1.10 --yes;
drush -y en seven;
drush vset theme_default seven --yes;
drush -y en jquery_update;

Even though I am setting the variable prior to enabling the jquery_update module, the seven theme is still being set to 1.4. Any ideas?

Comments

markhalliwell’s picture

Status: Active » Closed (works as designed)

An update only runs when a module has been installed and then updated to a new version.