Browse Source

Remove redundant calls to sudo

master
Daniel Borchmann 5 months ago
parent
commit
1b673af022
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
  1. 2
      config/bash/scripts.sh

2
config/bash/scripts.sh

@ -15,7 +15,7 @@ function encode-with-ffmpeg() {
}
function run-apt-upgrade() {
local upgrade_seq='sudo systemd-inhibit --what=shutdown:idle:sleep /bin/bash -c "sudo apt clean && sudo apt update && sudo apt upgrade && sudo apt autoremove && sudo tripwire --check --interactive"'
local upgrade_seq='sudo systemd-inhibit --what=shutdown:idle:sleep /bin/bash -c "apt clean && apt update && apt upgrade && apt autoremove && tripwire --check --interactive"'
local host=$1
if [[ -z $host ]]; then

Loading…
Cancel
Save