diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-06-01 00:09:58 +0200 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-06-01 00:10:14 +0200 |
commit | 3e51f95249ee3a21747f89c8a385ba5534d91043 (patch) | |
tree | 560b8c68716464c43e09bd10e3345e379e69575e /sbocheck | |
parent | dd1d30cfe657e86d6281ecb24b11cbe6833fe95b (diff) | |
download | sbotools-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-x | sbocheck | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |