Package: drush
Version: 2.0-6~bpo50+1
Severity: wishlist
Tags: patch

Drush should have a (Debian) default config that does not make it necessary to 
give the path to the drupal installation using -r each time.

On Debian this would be /usr/share/drupal6/. Anyone who wants to override that 
could still use the -r parameter.

I am attaching /etc/drush/drushrc.php that would fix this issue.
-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages drush depends on:
ii  php5-cli           5.2.6.dfsg.1-1+lenny4 command-line interpreter for the p

Versions of packages drush recommends:
ii  php5-mysql         5.2.6.dfsg.1-1+lenny4 MySQL module for php5
ii  wget               1.11.4-2+lenny1       retrieves files from the web

Versions of packages drush suggests:
ii  cvs                    1:1.12.13-12      Concurrent Versions System
ii  mysql-client           5.0.51a-24+lenny3 MySQL database client (metapackage
ii  mysql-client-5.0 [mysq 5.0.51a-24+lenny3 MySQL database client binaries
ii  subversion             1.5.1dfsg1-4      Advanced version control system

-- no debconf information
<?php
// default drupal 6 directory in debian, use -r to override
// also read /usr/share/doc/drush/examples/example.drushrc.php to harness
// the full power of this file
$options['r'] = '/usr/share/drupal6/';
?>

Reply via email to