diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2019-04-27 12:28:58 +0200 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2019-04-27 12:30:48 +0200 |
commit | 963cb0b202cec014ec32adb92c29da61ff4fde97 (patch) | |
tree | b6afb8930b98e018f9b66b60e484505bde92fe17 | |
parent | d4171aca2f5fe94700fb45726f91bd9436f221de (diff) | |
download | sbotools-963cb0b202cec014ec32adb92c29da61ff4fde97.tar.xz |
sboinstall: fix --reinstall option
Closes #72.
-rwxr-xr-x | sboinstall | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -156,6 +156,8 @@ FIRST: for my $sbo (@$build_queue) { my $inst_msg = sprintf "%s (%s) is already installed.", $name, $inst_names{$name}{pkg}; if ($reinstall and not $non_int) { next FIRST unless prompt("$inst_msg Do you want to reinstall from SBo?", default => 'no'); + } elsif ($reinstall) { + say "$inst_msg Reinstalling."; } else { say $inst_msg; next FIRST; |