On 09/04/2011 09:22 PM, Luigi Gangitano wrote:
Hi all,

/usr/share is not an option since there should be no user-created file
there (see FHS 2.3 at
http://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html#THEUSRHIERARCHY
<http://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html>).
This would be possible to use for sites/default, since a default site should not change (or should it?) during the course of the install (outside of updates via aptitude).

I used /etc/drupal/7/sites for configuration files (settings.php belongs
there as the equivalent files for horde or phpmyadmin do), so that a
predictable path could be used by maintainer scripts and utils.

I agree it is predictable for config files. However, image data (PNG files) are probably not considered a config file.

Probably module files belong to /var/lib/drupal, which should be created
ad-hoc, but drupal as many other web apps is not so
distribution-friendly since it expects files to be under its main folder
(currently /usr/share/drupal7).
The same kind of symlink currently used in /sites/default/files might be used to move everything under the sites/all folder to /var/lib/drupal/7/sites/all/.

Is there any other file you wish to be moved?
Especially the large amount of data in themes, as well as the libraries and modules.

Thank you very much for you attention,

Kasper Loopstra.

Regards,

L

--
Luigi Gangitano -- <lu...@debian.org <mailto:lu...@debian.org>> --
<gangit...@lugroma3.org <mailto:gangit...@lugroma3.org>>
GPG: 1024D/924C0C26: 12F8 9C03 89D3 DB4A 9972 C24A F19B A618 924C 0C26





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to