summaryrefslogtreecommitdiffstats
path: root/mgaapplet-upgrade-helper
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-05-16 09:45:08 +0000
committerThierry Vignaud <tv@mageia.org>2013-05-16 09:45:08 +0000
commit6a3cae0ed76635003144287e475e3a0db078a5e2 (patch)
tree6ca46cf660544255276e7097691c39539f610e50 /mgaapplet-upgrade-helper
parent6d17ac074495d96dc3799ffc54f007a85a09811f (diff)
downloadmgaonline-6a3cae0ed76635003144287e475e3a0db078a5e2.tar
mgaonline-6a3cae0ed76635003144287e475e3a0db078a5e2.tar.gz
mgaonline-6a3cae0ed76635003144287e475e3a0db078a5e2.tar.bz2
mgaonline-6a3cae0ed76635003144287e475e3a0db078a5e2.tar.xz
mgaonline-6a3cae0ed76635003144287e475e3a0db078a5e2.zip
simplify
Diffstat (limited to 'mgaapplet-upgrade-helper')
-rwxr-xr-xmgaapplet-upgrade-helper4
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");
}