summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2023-06-11 15:55:04 +0100
committerSean Whitton <spwhitton@spwhitton.name>2023-06-11 15:56:06 +0100
commit225bb06d3db26c890b21529499e7d938d898fe5e (patch)
treeeb991f7a6a69084afd5d746fccd9ae84ae4916ab /bin
parent4f36c07f1a777d053474c75368e4c8bb961e70cf (diff)
downloaddotfiles-225bb06d3db26c890b21529499e7d938d898fe5e.tar.gz
locmaint: stop passing -y to 'apt-get autoremove'
Diffstat (limited to 'bin')
-rwxr-xr-xbin/locmaint2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/locmaint b/bin/locmaint
index 9cb01bce..080d04b1 100755
--- a/bin/locmaint
+++ b/bin/locmaint
@@ -674,7 +674,7 @@ sub do_apt_upgrade {
sub { system_pty_capture(as_root("apt-get dist-upgrade")) });
script_status("doing apt autoremove");
interactive_ensure_subroutine_success(
- sub { system_pty_capture(as_root("apt-get -y autoremove")) });
+ sub { system_pty_capture(as_root("apt-get autoremove")) });
script_status("autocleaning apt's cache");
interactive_ensure_subroutine_success(
sub { system_pty_capture(as_root("apt-get autoclean")) });