From: Mart Lubbers Date: Mon, 16 Oct 2017 13:15:07 +0000 (+0200) Subject: update email and shell X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=4f86395e1e33a5df67315023b2a239a97d806807;p=dotfiles.git update email and shell --- diff --git a/email/.config/msmtp/config b/email/.config/msmtp/config index b5de460..887ed28 100644 --- a/email/.config/msmtp/config +++ b/email/.config/msmtp/config @@ -3,11 +3,11 @@ host lubbers.email port 587 auth on tls on -tls_fingerprint 4C:C6:52:09:81:21:28:A7:B2:56:3E:EF:79:2A:49:C0:94:51:7F:1C:95:4F:77:63:15:70:0B:7D:54:D1:77:BB +tls_fingerprint 80:C8:64:F1:E4:E4:5F:4B:61:BF:DB:0D:52:D3:98:E2:03:E8:06:4B:6A:0B:4B:D2:FE:F5:79:7B:6C:85:43:A8 user mart@martlubbers.net passwordeval pass mail/mart@martlubbers.net -#proxy_host localhost -#proxy_port 8008 +proxy_host localhost +proxy_port 8008 from mart@martlubbers.net account ru diff --git a/email/.config/offlineimap/config b/email/.config/offlineimap/config index 0fd5652..4eb871c 100644 --- a/email/.config/offlineimap/config +++ b/email/.config/offlineimap/config @@ -8,7 +8,7 @@ ui = quiet localrepository = Local remoterepository = Remote postsynchook = notmuch new -#proxy = SOCKS5:localhost:8008 +proxy = SOCKS5:localhost:8008 [Repository Local] type = Maildir diff --git a/shell/.local/bin/update b/shell/.local/bin/update index b32ce61..06b7fb4 100755 --- a/shell/.local/bin/update +++ b/shell/.local/bin/update @@ -1,16 +1,9 @@ #!/bin/sh -DV=/etc/debian_version NUL='>/dev/null 2>&1' cmd() { - if [ -f $DV ] - then - echo -n 'apt-get update && apt-get dist-upgrade -y ' - [ `head -c 1 $DV` -ge 9 ] && echo -n '--' || -n '&& apt-get ' - echo -n 'autoremove --purge && apt-get clean && apt-get autoclean' - else - echo -n 'pacman -Syu && pacman -Qdtq | ifne xargs pacman -R' - fi + echo -n 'apt-get update && apt-get dist-upgrade -y && ' + echo -n 'apt-get autoremove --purge && apt-get clean && apt-get autoclean' } sudo sh -c "$(cmd)"