|
@ -44,6 +44,10 @@ |
|
|
# - Important 1.3.1 bug report and several good questions now incorporated |
|
|
# - Important 1.3.1 bug report and several good questions now incorporated |
|
|
# in the FAQ. Noted an erroneous explanation for a FAQ question in 1.3.2. |
|
|
# in the FAQ. Noted an erroneous explanation for a FAQ question in 1.3.2. |
|
|
# |
|
|
# |
|
|
|
|
|
# Stian Skjelstad <stian@nixia.no> |
|
|
|
|
|
# - Observed that @INC wasn't working properly with rpm based dists with |
|
|
|
|
|
# 1.4.0. |
|
|
|
|
|
# |
|
|
# [ Supporters and Users ] |
|
|
# [ Supporters and Users ] |
|
|
# Ben Carrell <ben@xmission.com> |
|
|
# Ben Carrell <ben@xmission.com> |
|
|
# - Great compliments. |
|
|
# - Great compliments. |
|
@ -244,40 +248,38 @@ BEGIN { |
|
|
$ENV{'PATH'} = "$pwd/user-mode-linux/usr/lib\/uml:" . $ENV{'PATH'}; |
|
|
$ENV{'PATH'} = "$pwd/user-mode-linux/usr/lib\/uml:" . $ENV{'PATH'}; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
use BootRoot::Options; |
|
|
use BootRoot::Options; |
|
|
option(); |
|
|
option(); |
|
|
|
|
|
|
|
|
$::commandline = \%option if %option; |
|
|
$::commandline = \%option if %option; |
|
|
$::commandline = $ARGV[0] if $ARGV[0]; |
|
|
$::commandline = $ARGV[0] if $ARGV[0]; |
|
|
|
|
|
|
|
|
if ( $option{home} && !$option{template} ) { |
|
|
if ( $option{home} && !$option{template} ) { |
|
|
undef $::commandline; |
|
|
undef $::commandline; |
|
|
$option{gui_mode} = $option{home}; |
|
|
$option{gui_mode} = $option{home}; |
|
|
undef $option{home}; |
|
|
undef $option{home}; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if ( $Getopt::Long::error > 0 ) { |
|
|
if ( $Getopt::Long::error > 0 ) { |
|
|
|
|
|
|
|
|
exit; |
|
|
exit; |
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ( !%option || $option{gui_mode} ) { |
|
|
|
|
|
if ( !$::commandline ) { |
|
|
|
|
|
|
|
|
|
|
|
use Gtk; |
|
|
} |
|
|
init Gtk; |
|
|
|
|
|
set_locale Gtk; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
if ( !%option || $option{gui_mode} ) { |
|
|
|
|
|
if ( !$::commandline ) { |
|
|
|
|
|
|
|
|
|
|
|
use Gtk; |
|
|
|
|
|
init Gtk; |
|
|
|
|
|
set_locale Gtk; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
use strict; |
|
|
use strict; |
|
|
use BootRoot::BootRoot; |
|
|
use BootRoot::BootRoot; |
|
|
|
|
|
|
|
|