From 963cb0b202cec014ec32adb92c29da61ff4fde97 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Sat, 27 Apr 2019 12:28:58 +0200 Subject: sboinstall: fix --reinstall option Closes #72. --- sboinstall | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sboinstall b/sboinstall index 9df3188..b7dc536 100755 --- a/sboinstall +++ b/sboinstall @@ -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; -- cgit v1.2.3