Package: dphys-config
Version: 20061020-1
Severity: normal

Example:

The file dphys-config.list contains the following line:
etc/bash.prompt:/:grep -q /etc/bash.prompt /etc/bash.bashrc || echo -e 
'\nsource /etc/bash.prompt\n' >> /etc/bash.bashrc

This should result in the following command being executed on the target:
grep -q /etc/bash.prompt /etc/bash.bashrc || echo -e '\nsource 
/etc/bash.prompt\n' >> /etc/bash.bashrc

However, this command was in fact executed (backslashes are stripped):
grep -q /etc/bash.prompt /etc/bash.bashrc || echo -e 'nsource 
/etc/bash.promptn' >> /etc/bash.bashrc

To get the desired behaviour the following must be put in dphys-config.list:
etc/bash.prompt:/:grep -q /etc/bash.prompt /etc/bash.bashrc || echo -e 
'\\nsource /etc/bash.prompt\\n'+>> /etc/bash.bashrc


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-ovz028stab053.14-enterprise
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages dphys-config depends on:
ii  wget                          1.10.2-2   retrieves files from the web

Versions of packages dphys-config recommends:
ii  pciutils                  1:2.2.4~pre4-1 Linux PCI Utilities
pn  tcc                       <none>         (no description available)

-- no debconf information



-- 
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