X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=shell%2F.local%2Fbin%2Fupdate;h=a451d417df3264812af6a16c953adf472e4000db;hb=04afc939b89a847081345c90976f45255c6ff871;hp=a25812bbfb369ae3a07ce67e7fc8d5b8ad92f155;hpb=e26d42e86a5cecb2c9b75be5b2e7bcea41d19c1f;p=dotfiles.git diff --git a/shell/.local/bin/update b/shell/.local/bin/update old mode 100644 new mode 100755 index a25812b..a451d41 --- a/shell/.local/bin/update +++ b/shell/.local/bin/update @@ -1,5 +1,6 @@ #!/bin/sh DV=/etc/debian_version +NUL='>/dev/null 2>&1' cmd() { if [ -f $DV ] @@ -13,4 +14,4 @@ cmd() { } sudo sh -c "$(cmd)" -sh -c 'offlineimap -u ttyui && vdirsyncer sync && khal && khard' +sh -c "tlmgr update --all --self && offlineimap -u ttyui && vdirsyncer sync && khal $NUL && khard $NUL && pass git pull"