From 5b32edcf88fe0b952100547b1b26f2eda15d47f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 25 Jun 2020 14:41:17 +0200 Subject: Replace offlineimap with isync --- install | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) (limited to 'install') diff --git a/install b/install index d9a551c..230801a 100755 --- a/install +++ b/install @@ -60,13 +60,10 @@ if ask "dev" "Development tools configuration"; then inst pylintrc ~/.pylintrc fi -if ask "email-sync" "Install email synchronization"; then - inst local/bin/email-unread ~/.local/bin/email-unread - inst local/sbin/newmail-notify ~/.local/sbin/newmail-notify - inst_email_sync - # Contains: - # inst local/sbin/syncemail ~/.local/sbin/ - # inst config/offlineimap/ ~/.config/offlineimap +if ask "cal" "Install calendar and contacts"; then + inst config/khal/config ~/.config/khal/config + inst config/khard/khard.conf ~/.config/khard/khard.conf + inst private/vdirsyncer/ ~/.vdirsyncer fi if ask "mutt" "Install mutt configuration"; then @@ -74,13 +71,19 @@ if ask "mutt" "Install mutt configuration"; then inst lynxrc ~/.lynxrc inst mutt/mailcap ~/.mutt/ inst mutt/color ~/.mutt/ - inst_mutt_conf - # Contains: - # inst mutt/ ~/.mutt - # inst msmtprc ~/.msmtprc + inst private/mutt/ ~/.mutt + inst private/msmtprc ~/.msmtprc mkdir -p ~/.cache/mutt # directory for temporaly html files fi +if ask "sync" "Install synchronization"; then + inst local/bin/allsync ~/.local/bin/allsync + inst local/bin/email-unread ~/.local/bin/email-unread + inst local/sbin/newmail-notify ~/.local/sbin/newmail-notify + inst private/mbsyncrc ~/.mbsyncrc + inst_sync +fi + if ask "desktop" "Install desktop generic"; then # Theme inst gtk-2.0/gtkrc ~/.gtkrc-2.0 @@ -106,12 +109,6 @@ if ask "wayland" "Install Wayland (sway)"; then inst config/swaylock/ ~/.config/swaylock fi -if ask "cal" "Install calendar and contacts"; then - inst config/khal/config ~/.config/khal/config - inst config/khard/khard.conf ~/.config/khard/khard.conf - inst private/vdirsyncer/ ~/.vdirsyncer -fi - if ask "surf" "Install Surf configuration"; then inst surf/script.js ~/.surf/script.js inst surf/styles/default.css ~/.surf/styles/default.css -- cgit v1.2.3