From 4a5678f682841a90988eea256edfcbda132f2cc5 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Tue, 19 Feb 2002 16:11:58 +0000 Subject: report_bug: find syslog in /var/log if it's not in /tmp, add $prefix in front of /var/* when missing --- perl-install/any.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/any.pm') diff --git a/perl-install/any.pm b/perl-install/any.pm index 2ee2e05c8..33a37dd3c 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -895,11 +895,11 @@ sub report_bug { header("scsi"), cat_("/proc/scsi/scsi"), header("lsmod"), cat_("/proc/modules"), header("cmdline"), cat_("/proc/cmdline"), - header("pcmcia: stab"), cat_('/var/lib/pcmcia/stab') || cat_('/var/run/stab'), + header("pcmcia: stab"), cat_("$prefix/var/lib/pcmcia/stab") || cat_("$prefix/var/run/stab"), header("usb"), cat_("/proc/bus/usb/devices"), header("partitions"), cat_("/proc/partitions"), header("cpuinfo"), cat_("/proc/cpuinfo"), - header("syslog"), cat_("/tmp/syslog"), + header("syslog"), cat_("/tmp/syslog") || cat_("$prefix/var/log/syslog"), header("ddcxinfos"), ddcxinfos(), header("stage1.log"), cat_("/tmp/stage1.log") || cat_("$prefix/root/drakx/stage1.log"), header("ddebug.log"), cat_("/tmp/ddebug.log") || cat_("$prefix/root/drakx/ddebug.log"), -- cgit v1.2.1