From cf94c7f941510b42537997271b8e2ade38a1f01f Mon Sep 17 00:00:00 2001 From: Gardouille Date: Mon, 23 Jan 2023 10:08:01 +0100 Subject: [PATCH] Clean downloaded .deb files --- splitLAPTOP | 2 +- splitWORKSTATION | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/splitLAPTOP b/splitLAPTOP index 46f7f79..753012a 100644 --- a/splitLAPTOP +++ b/splitLAPTOP @@ -30,7 +30,7 @@ if-shell -b 'test -n $TMUX' { # with mutt running in the first pane new-session -A -stoto -nmail 'mutt ; exec ${SHELL}' ## Split the first window for APT upgrade - split-window -h -p 25 -ttoto:1.1 'sudo aptitude update ; sudo aptitude full-upgrade ; exec ${SHELL}' + split-window -h -p 25 -ttoto:1.1 'sudo apt update ; sudo aptitude full-upgrade ; sudo aptitude clean ; exec ${SHELL}' # # Second window named **Xt0p** with btop running new-window -d -nXt0p 'btop ; exec ${SHELL}' diff --git a/splitWORKSTATION b/splitWORKSTATION index cf3b30c..be09f32 100644 --- a/splitWORKSTATION +++ b/splitWORKSTATION @@ -43,7 +43,7 @@ if-shell -b 'test -n $TMUX' { split-window -d -h -tjd:2.1 -c '/home/jegardai/repos/ipr.debops' # Third window for APT upgrade - new-window -nAPT 'sudo aptitude update ; sudo aptitude full-upgrade ; exec ${SHELL}' + new-window -nAPT 'sudo apt update ; sudo aptitude full-upgrade ; sudo aptitude clean ; exec ${SHELL}' # Fourth window for authentication tools new-window -nAuth 'gpg --quiet --for-your-eyes-only --decrypt ~/.password-store/test.gpg ; logout'