diff options
author | Thierry Vignaud <tv@mageia.org> | 2013-05-16 09:45:08 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2013-05-16 09:45:08 +0000 |
commit | 6a3cae0ed76635003144287e475e3a0db078a5e2 (patch) | |
tree | 6ca46cf660544255276e7097691c39539f610e50 | |
parent | 6d17ac074495d96dc3799ffc54f007a85a09811f (diff) | |
download | mgaonline-6a3cae0ed76635003144287e475e3a0db078a5e2.tar mgaonline-6a3cae0ed76635003144287e475e3a0db078a5e2.tar.gz mgaonline-6a3cae0ed76635003144287e475e3a0db078a5e2.tar.bz2 mgaonline-6a3cae0ed76635003144287e475e3a0db078a5e2.tar.xz mgaonline-6a3cae0ed76635003144287e475e3a0db078a5e2.zip |
simplify
-rwxr-xr-x | mgaapplet-upgrade-helper | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mgaapplet-upgrade-helper b/mgaapplet-upgrade-helper index 2eebc5a0..1da77e30 100755 --- a/mgaapplet-upgrade-helper +++ b/mgaapplet-upgrade-helper @@ -246,11 +246,11 @@ packages as well?).")) log::explanations("Checking $media->{name}"); if (!defined($media->{ignore})) { log::explanations("Media $media->{name} is not ignored"); - if ($media->{name} =~ m/^Nonfree/) { + if ($media->{name} =~ /^Nonfree/) { $nonfree = 1; log::explanations("Nonfree found to be enabled"); } - if ($media->{name} =~ m/^Tainted/) { + if ($media->{name} =~ /^Tainted/) { $tainted = 1; log::explanations("Tainted found to be enabled"); } |