I'm looking at how the Libraries module should work in Debian

Debian currently puts core modules under
/usr/share/drupal7/modules

and modules downloaded by the user in
/usr/local/share/drupal/7/modules

There is a symlink

/usr/share/drupal7/modules/local -> /usr/local/share/drupal/7/modules

I tried to do the same thing with libraries, but it doesn't work. On my Debian system, I found that I need to create

/usr/share/drupal7/libraries

and then install each library into that directory. This is not ideal, as it means that packaged libraries would be mixed with user libraries

Can you please advise if the libraries module can emulate the way that modules and themse are found, e.g. can it be adapted to follow a `local' symlink such as:

/usr/share/drupal7/libraries/local -> /usr/local/share/drupal/7/libraries

Then any `packaged' libraries distributed by debian would install as

/usr/share/drupal7/libraries/somelibrary

and any libraries downloaded by the user would go to

/usr/local/share/drupal/7/libraries/otherlibrary

Comments

I've had a closer look at the code and documented my findings in the README.Debian:

http://anonscm.debian.org/gitweb/?p=collab-maint/drupal7-mod-libraries.g...

This goes some of the way to answering the original question in this issue, in particular, it suggests that sites/all/libraries should symlink to /usr/local/share/drupal/7/libraries