aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-12-17 19:45:47 +0000
committerOlivier Blin <oblin@mandriva.com>2007-12-17 19:45:47 +0000
commit08dcf423248b79611f972c9397b34c7b61499c04 (patch)
treebbb15dcd8551db2a20821fc0a64f1d145f58cb37
parent720fc04038e7c38d9656f222d36290cd683b7bd8 (diff)
downloadmga-youri-submit-08dcf423248b79611f972c9397b34c7b61499c04.tar
mga-youri-submit-08dcf423248b79611f972c9397b34c7b61499c04.tar.gz
mga-youri-submit-08dcf423248b79611f972c9397b34c7b61499c04.tar.bz2
mga-youri-submit-08dcf423248b79611f972c9397b34c7b61499c04.tar.xz
mga-youri-submit-08dcf423248b79611f972c9397b34c7b61499c04.zip
add an "allow_omitting_packages" global option, to be able to run youri even if no packages are specified on the command line (useful if packages are fetched in pre action)
-rwxr-xr-xbin/youri-submit2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/youri-submit b/bin/youri-submit
index 8ecb868..0772ef5 100755
--- a/bin/youri-submit
+++ b/bin/youri-submit
@@ -255,7 +255,7 @@ if ($config->get_arg('help')) {
pod2usage(-verbose => 0, -message => "No target specified, aborting\n")
unless @ARGV > 0;
pod2usage(-verbose => 0, -message => "No packages specified, aborting\n")
- unless @ARGV > 1;
+ unless @ARGV > 1 || $config->get_param('allow_omitting_packages');
# convenient global flags
my $test = $config->get_arg('test');