summaryrefslogtreecommitdiffstats
path: root/.local/bin/install-port
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-21 04:04:09 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-21 04:04:09 +0200
commitadc349a881e9b0a6218ad819a74fc4c6caffa565 (patch)
treea81e64a53a21d4dc766b4503d6ec8460c51d3b8a /.local/bin/install-port
parentTypo (diff)
downloaddotfiles-bsd-adc349a881e9b0a6218ad819a74fc4c6caffa565.tar.gz
dotfiles-bsd-adc349a881e9b0a6218ad819a74fc4c6caffa565.tar.bz2
dotfiles-bsd-adc349a881e9b0a6218ad819a74fc4c6caffa565.tar.xz
dotfiles-bsd-adc349a881e9b0a6218ad819a74fc4c6caffa565.tar.zst
dotfiles-bsd-adc349a881e9b0a6218ad819a74fc4c6caffa565.zip
Was forced to use yes
Diffstat (limited to '')
-rwxr-xr-x.local/bin/install-port2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/install-port b/.local/bin/install-port
index 59e4317..516a6d2 100755
--- a/.local/bin/install-port
+++ b/.local/bin/install-port
@@ -56,7 +56,7 @@ sub upgrdports {
}
if (system('/usr/local/bin/dash',
'-c',
- '/usr/local/bin/sudo /usr/local/sbin/portmaster -a -y') == 0) {
+ '/usr/bin/yes y | /usr/local/bin/sudo /usr/local/sbin/portmaster -a -y') == 0) {
my $failed_nbr = `$upgrd_nbr_cmd`;
chomp $failed_nbr;
my $diff_nbr = $upgrd_nbr - $failed_nbr;