I re-created my patch for installing XP Tablet version against current CVS.
It's commented, hopefully it makes sense. It isn't too much of a change, but
if dosemu is still going to be a part of the 4.8 release, I'd like to see
this make it in.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263


Index: install.pl
===================================================================
RCS file: /cvsroot/unattended/unattended/install/dosbin/install.pl,v
retrieving revision 1.152
diff -r1.152 install.pl
982d981
<         $src_tree .= 'i386';
984c983,1006
<         return "$dos_zdrv;cd $src_tree;winnt $lang_opts /s:$src_tree 
/u:$unattend_txt";
---
>         my $cmpnents = "";
>         my $winnt_opts = "";
> 
>         # Create the correct string for the cmpnents directory. This will
>         # either be Z:\os... or /z/os... depending on the boot disk.
>         if ($is_linux) {
>             (my $linux_tree = $src_tree) =~ s#\\#/#g;
>             $linux_tree =~ s#$dos_zdrv#/z#g;
> 
>             $cmpnents = $linux_tree . "cmpnents";
>         } else {
>             $cmpnents = $src_tree . "cmpnents";
>         }
> 
>         # Test to see if the cmpnents directory exists - if so we have 
>         # XP Tablet and need to call the installer with different arguments.
>         if ( -e $cmpnents ) {
>             $winnt_path = "i386\\winnt";
>             $winnt_opts = "/2";
>         } else {
>             $src_tree .= 'i386';
>         }
> 
>         return "$dos_zdrv;cd $src_tree;$winnt_path $winnt_opts $lang_opts 
> /s:$src_tree /u:$unattend_txt";
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to