Merge branch 'master' of github.com:dopefishh/dotfiles
[dotfiles.git] / shell / .local / bin / update
old mode 100644 (file)
new mode 100755 (executable)
index a25812b..a451d41
@@ -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"