Active
Project:
Search Files
Version:
6.x-2.0-beta4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Apr 2012 at 19:11 UTC
Updated:
16 Apr 2012 at 22:33 UTC
Any reason why the helper scripts can not be stored in the Drupal /scripts directory?
Comments
Comment #1
jrglasgow commentedWhen you say "helper scripts" are you referring to the helper apps that search files uses to output the text of the various files?
If this is the case then no there is no reason that I know of why you wouldn't be functionally able to have those binaries/scripts in the {drupal_root}/script. I wouldn't advise it though. When you upgrade Drupal core it is suggested that you remove all the files except the {drupal_root}/sites directory. When Drupal core is upgraded by Drush this happens exactly. All files/directories except sites is removed and the new core Drupal code is put in place.
You would be better off placing the binaries/scripts for the helper apps in {drupal_root}/sites/all/libraries.
The auto-detection of helper apps will not work if the binaries/scripts are not located in a directory in the path.
Comment #2
iantresman commentedI think so, files like pdftotext. Getting them installed in /usr/bin is much more difficult.