"Brauer, Jan" <[EMAIL PROTECTED]> writes: > What i mean is: how can install.pl determine whether i'm booting > from dos and not use config.pl or whether im botting from linux and > use it?
Have config.pl do the test and load config-linux.pl when running on Linux. Something like this in Z:\site\config.pl should do the trick: ====================================================================== use warnings; use strict; if ($^O eq 'linux') { my $linux_conf = dos_to_host ('Z:\\site\\linux-config.pl'); my $result = do $linux_conf; $@ and die "do $linux_conf failed: $@"; defined $result or die "Could not do $linux_conf: $^E"; } 1; ====================================================================== - Pat ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ unattended-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/unattended-devel