]> git.donarmstrong.com Git - wannabuild.git/commitdiff
fix previous commit: dont set values already set on the database
authorAndreas Barth <aba@not.so.argh.org>
Sat, 9 Apr 2011 15:44:47 +0000 (15:44 +0000)
committerAndreas Barth <aba@not.so.argh.org>
Sat, 9 Apr 2011 15:44:47 +0000 (15:44 +0000)
bin/wanna-build

index 9b39f76a0278d1e5a2422acf65d2e1e9f74a8440..0908b927db4db90d2f4e4503d0271cf71fb7965b 100755 (executable)
@@ -2411,13 +2411,13 @@ sub parse_all_v3 {
                 }
             }
             if (isin($pkgs->{'status'}, qw <related not-for-us>)) {
-                my $tnotes = {'related' => 'related', 'not-for-us' => 'Packages-arch-specific'}->{$pkgs->{'status'}};
+                my $tnotes = {'related' => 'related', 'not-for-us' => 'packages-arch-specific'}->{$pkgs->{'status'}};
                 if ($pkg->{'notes'} && $pkg->{'notes'} ne $tnotes) {
                     $pkg->{'notes'} = $tnotes;
                     $change++;
                 }
             }
-            if ($pkgs->{'notes'} && ($pkg->{'notes'}//"" ne $pkgs->{'notes'})) {
+            if ($pkgs->{'notes'} && (($pkg->{'notes'}//"") ne $pkgs->{'notes'})) {
                 $pkg->{'notes'} = $pkgs->{'notes'};
                 $change++;
             }