summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-02-19 16:11:58 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-02-19 16:11:58 +0000
commit4a5678f682841a90988eea256edfcbda132f2cc5 (patch)
treefd83fb09e2581c901957d76dd9aa2ffa21110796 /perl-install/any.pm
parent32a1732b5b01a3d6e97b885021f15083693f7107 (diff)
downloaddrakx-backup-do-not-use-4a5678f682841a90988eea256edfcbda132f2cc5.tar
drakx-backup-do-not-use-4a5678f682841a90988eea256edfcbda132f2cc5.tar.gz
drakx-backup-do-not-use-4a5678f682841a90988eea256edfcbda132f2cc5.tar.bz2
drakx-backup-do-not-use-4a5678f682841a90988eea256edfcbda132f2cc5.tar.xz
drakx-backup-do-not-use-4a5678f682841a90988eea256edfcbda132f2cc5.zip
report_bug: find syslog in /var/log if it's not in /tmp, add
$prefix in front of /var/* when missing
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm4
1 files changed, 2 insertions, 2 deletions
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"),