aboutsummaryrefslogtreecommitdiff
path: root/sbocheck
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-06-01 00:09:58 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-06-01 00:10:14 +0200
commit3e51f95249ee3a21747f89c8a385ba5534d91043 (patch)
tree560b8c68716464c43e09bd10e3345e379e69575e /sbocheck
parentdd1d30cfe657e86d6281ecb24b11cbe6833fe95b (diff)
downloadsbotools-3e51f95249ee3a21747f89c8a385ba5534d91043.tar.xz
sbocheck: no reason to guard against overwriting
the version should be the same in either case
Diffstat (limited to 'sbocheck')
-rwxr-xr-xsbocheck2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbocheck b/sbocheck
index 4e516ca..439a81b 100755
--- a/sbocheck
+++ b/sbocheck
@@ -61,7 +61,7 @@ sub get_update_list {
}
for my $update (@outdated) {
my $name = $update->{name};
- $updates{$name}{installed} //= $update->{version};
+ $updates{$name}{installed} = $update->{version};
$updates{$name}{sbo} = $update->{orig};
$updates{$name}{local} = 1;
}