When enabling the colorbox module, any existing library is deleted without warning, before drush’s usual confirmation:

A existing Colorbox plugin was deleted from sites/all/libraries                                                                                                                                            [notice]
Executing: unzip 1.x.zip -d .
Colorbox plugin has been installed in sites/all/libraries                                                                                                                                               [success]
The following extensions will be enabled: colorbox
Do you really want to continue? (y/n):

This is unexpected, destructive, and interferes with deployments.

Comments

drumm created an issue. See original summary.

neslee canil pinto’s picture

Status: Active » Closed (cannot reproduce)
drumm’s picture

Status: Closed (cannot reproduce) » Active
neslee canil pinto’s picture

It would be great if you post a patch for it. Thanks.

  • paulmckibben committed 26aa304d on 7.x-2.x
    Issue #2979917 by drumm, paulmckibben: Do not destroy existing library...
paulmckibben’s picture

Status: Active » Fixed

A fix for this has been pushed to the 7.x-2.x branch.

paulmckibben’s picture

Making sure @drumm gets credit.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.