summaryrefslogtreecommitdiffstats
path: root/.local/bin/install-port
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-22 10:22:53 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-22 10:22:53 +0200
commitcdecaf398db948c21d40ca2a58a32d097e612f2c (patch)
tree3423f81ec5af62fdc7a42240ebe5896c6c5a70f4 /.local/bin/install-port
parentTrying that (diff)
downloaddotfiles-bsd-cdecaf398db948c21d40ca2a58a32d097e612f2c.tar.gz
dotfiles-bsd-cdecaf398db948c21d40ca2a58a32d097e612f2c.tar.bz2
dotfiles-bsd-cdecaf398db948c21d40ca2a58a32d097e612f2c.tar.xz
dotfiles-bsd-cdecaf398db948c21d40ca2a58a32d097e612f2c.tar.zst
dotfiles-bsd-cdecaf398db948c21d40ca2a58a32d097e612f2c.zip
Better options for ports upgrades
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 25f36f8..1236287 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') == 0) {
+ '/usr/local/bin/sudo /usr/local/sbin/portmaster -dya --no-confirm') == 0) {
my $failed_nbr = `$upgrd_nbr_cmd`;
chomp $failed_nbr;
my $diff_nbr = $upgrd_nbr - $failed_nbr;