dotfiles

Configuration for the software I use.
git clone https://git.sr.ht/~jbauer/dotfiles
Log | Files | Refs | README | LICENSE

commit 3a1645947d0540222b2bf8808667d26b865f023e
parent 98241b30abc1e55af5abcaa49f032dd822a17100
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Fri, 26 Jun 2020 19:35:12 -0400

Remove apt-get update from update-notify script

apt-get update must be run by the root user. It's easier to do this as
root than to try to use sudo and also have the environment work to send
notifications.

Diffstat:
M.local/bin/update-notify.sh | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/.local/bin/update-notify.sh b/.local/bin/update-notify.sh @@ -1,6 +1,5 @@ #!/bin/sh -apt-get update > /dev/null 2>&1 numPkgs=$(apt-get -s -o Debug::NoLocking=true upgrade | grep ^Inst | wc -l) if [ "$numPkgs" -gt 0 ]; then