From a8e3ae49bf5021ae6a7c5778628e5343aaea4275 Mon Sep 17 00:00:00 2001 From: Jacob Pipkin Date: Fri, 1 Jun 2012 12:45:24 -0500 Subject: added -R option to sbo(install|upgrade) to view README but not parse requirements --- sboinstall | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sboinstall') diff --git a/sboinstall b/sboinstall index 73a925f..b36cb59 100755 --- a/sboinstall +++ b/sboinstall @@ -28,12 +28,13 @@ Options: -j: specify "-j" setting to make, for multicore systems; overrides conf file. -p: install an SBo as a -compat32 pkg on a multilib x86_64 system. -r: skip viewing of the SBo README. + -R: view the README but do not attempt to parse requirements. EOF } my %options; -getopts ('hvcdripj:', \%options); +getopts ('hvcdripj:R', \%options); show_usage () and exit (0) if exists $options{h}; show_version () and exit (0) if exists $options{v}; @@ -41,7 +42,7 @@ show_version () and exit (0) if exists $options{v}; show_usage () and exit (0) unless exists $ARGV[0]; # setup any options which do not require arguments -my @opts1 = ('c', 'd', 'r', 'i', 'p'); +my @opts1 = ('c', 'd', 'r', 'i', 'p', 'R'); for my $opt (@opts1) { unshift (@ARGV, "-$opt") if exists $options{$opt}; } -- cgit v1.2.3