repositories
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of github.com:dopefishh/dotfiles
[dotfiles.git]
/
shell
/
.local
/
bin
/
update
diff --git
a/shell/.local/bin/update
b/shell/.local/bin/update
old mode 100644
(file)
new mode 100755
(executable)
index
a25812b
..
a451d41
--- a/
shell/.local/bin/update
+++ b/
shell/.local/bin/update
@@
-1,5
+1,6
@@
#!/bin/sh
DV=/etc/debian_version
#!/bin/sh
DV=/etc/debian_version
+NUL='>/dev/null 2>&1'
cmd() {
if [ -f $DV ]
cmd() {
if [ -f $DV ]
@@
-13,4
+14,4
@@
cmd() {
}
sudo sh -c "$(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"