diff options
author | Thierry Vignaud <tv@mageia.org> | 2013-06-21 23:52:29 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2013-06-21 23:52:29 +0000 |
commit | aa02f2cdf70906c3066d4a21d8ac3f83d3570ba3 (patch) | |
tree | 17730ba36b9a7bbb7c945aca0896ad956908d4cb | |
parent | 6d00b0c63dbaf99d2fcb57b202c1e0d2ce106423 (diff) | |
download | mgaonline-aa02f2cdf70906c3066d4a21d8ac3f83d3570ba3.tar mgaonline-aa02f2cdf70906c3066d4a21d8ac3f83d3570ba3.tar.gz mgaonline-aa02f2cdf70906c3066d4a21d8ac3f83d3570ba3.tar.bz2 mgaonline-aa02f2cdf70906c3066d4a21d8ac3f83d3570ba3.tar.xz mgaonline-aa02f2cdf70906c3066d4a21d8ac3f83d3570ba3.zip |
simplify
-rwxr-xr-x | mgaapplet | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -226,7 +226,7 @@ $icon->signal_connect(activate => sub { $click_actions{$action}->() if ref $click_actions{$action}; }); foreach my $opt (@ARGV) { - if ($opt eq '--force' || $opt eq '-f') { setAutoStart('TRUE') } + if (member($opt, qw(--force -f))) { setAutoStart('TRUE') } if ($opt =~ /--(rpm-root|urpmi-root)=(.*)/) { $::rpmdrake_options{$1}[0] = $2; } |