[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#422352: xprint-common: find err mess from /etc/init.d/xprint



Package: xprint-common
Version: 2:1.3.0.0.dfsg-3
Severity: normal
Tags: patch

The attached patch fixes an error message from find on a directory
which does not exist on my system.


Cheers,
Cristian

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

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

Versions of packages xprint-common depends on:
ii  debconf [debconf-2.0]        1.5.13      Debian configuration management sy
ii  x11-common                   1:7.2-3     X Window System (X.Org) infrastruc
ii  xbase-clients                1:7.2.ds2-2 miscellaneous X clients
ii  xfonts-encodings             1:1.0.0-6   Encodings for X.Org fonts

Versions of packages xprint-common recommends:
ii  xfonts-base             1:1.0.0-4        standard fonts for X
ii  xprint                  2:1.3.0.0.dfsg-3 Xprint - the X11 print system (bin

-- debconf information:
* xprint-common/default_printer_resolution: 600
--- xprint.orig	2006-11-30 00:07:34.000000000 +0100
+++ xprint	2007-05-05 11:08:45.000000000 +0200
@@ -324,7 +324,7 @@
             ## List all fonts in all locales installed on this machine
             (
               [ -d "/usr/share/fonts" ] && find /usr/share/fonts -name fonts.dir
-              find "${XPROJECTROOT}/lib/X11/fonts" -name fonts.dir 
+              [ -d "${XPROJECTROOT}/lib/X11/fonts" ] && find "${XPROJECTROOT}/lib/X11/fonts" -name fonts.dir 
             ) | 
               while read i ; do echo "${i%/fonts.dir}" ; done
           ) | sort -u

Reply to: