sbotools2

Maintenance fork of the original sbotools version 2
Log | Files | Refs | README

commit 963cb0b202cec014ec32adb92c29da61ff4fde97
parent d4171aca2f5fe94700fb45726f91bd9436f221de
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date:   Sat, 27 Apr 2019 12:28:58 +0200

sboinstall: fix --reinstall option

Closes #72.

Diffstat:
Msboinstall | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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;