Use apt instead of aptitude to update repos

This commit is contained in:
Jeremy Gardais 2022-12-22 08:12:42 +01:00
parent 729cbff471
commit 6eead9dbf8
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ if-shell '! tmux has-session -t toto' {
# with mutt running in the first pane # with mutt running in the first pane
new-session -A -stoto -nmail 'mutt ; exec ${SHELL}' new-session -A -stoto -nmail 'mutt ; exec ${SHELL}'
## Split the first window for APT upgrade ## 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 ; exec ${SHELL}'
# #
# Second window named **Xt0p** with btop running # Second window named **Xt0p** with btop running
new-window -d -nXt0p 'btop ; exec ${SHELL}' new-window -d -nXt0p 'btop ; exec ${SHELL}'

View File

@ -43,7 +43,7 @@ if-shell -b 'test -n $TMUX' {
split-window -d -h -tjd:2.1 -c '/home/jegardai/repos/ipr.debops' split-window -d -h -tjd:2.1 -c '/home/jegardai/repos/ipr.debops'
# Third window for APT upgrade # 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 ; exec ${SHELL}'
# Fourth window for authentication tools # Fourth window for authentication tools
new-window -nAuth 'gpg --quiet --for-your-eyes-only --decrypt ~/.password-store/test.gpg ; logout' new-window -nAuth 'gpg --quiet --for-your-eyes-only --decrypt ~/.password-store/test.gpg ; logout'