diff options
| author | John Hay <jhay@FreeBSD.org> | 2002-08-09 07:44:43 +0000 |
|---|---|---|
| committer | John Hay <jhay@FreeBSD.org> | 2002-08-09 07:44:43 +0000 |
| commit | 96d1ba768f1ce118bdbbc924a99e77a133a3fdb8 (patch) | |
| tree | 9b7c33f604708fa3573e29d766db1d20558c6f34 /usr.sbin/sysinstall/system.c | |
| parent | 27c7af4d02dca19adbc0f5e961b2451ee4b20713 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/sysinstall/system.c')
| -rw-r--r-- | usr.sbin/sysinstall/system.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/system.c b/usr.sbin/sysinstall/system.c index 2ad3a48b2f02..07fc2b0adf20 100644 --- a/usr.sbin/sysinstall/system.c +++ b/usr.sbin/sysinstall/system.c @@ -348,9 +348,15 @@ systemHelpFile(char *file, char *buf) snprintf(buf, FILENAME_MAX, "/stand/help/%s.hlp.gz", file); if (file_readable(buf)) return expand(buf); + snprintf(buf, FILENAME_MAX, "/stand/help/%s.hlp", file); + if (file_readable(buf)) + return expand(buf); snprintf(buf, FILENAME_MAX, "/stand/help/%s.TXT.gz", file); if (file_readable(buf)) return expand(buf); + snprintf(buf, FILENAME_MAX, "/stand/help/%s.TXT", file); + if (file_readable(buf)) + return expand(buf); snprintf(buf, FILENAME_MAX, "/usr/src/usr.sbin/sysinstall/help/%s.hlp", file); if (file_readable(buf)) return buf; |
