From eb4db493bea18e2f57c56eef5ed84da02ef3b0ab Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Thu, 5 Jan 2023 09:57:18 +0800 Subject: [PATCH] fix: oauth2 is missing for neomutt --- cli/neomutt.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cli/neomutt.sh b/cli/neomutt.sh index 136e61d..8a9aa5a 100755 --- a/cli/neomutt.sh +++ b/cli/neomutt.sh @@ -35,6 +35,15 @@ case "$PM" in ./configure make sudo make install + + # isync xoauth2 + git clone https://github.com/moriyoshi/cyrus-sasl-xoauth2.git ~/Projects/klesh/cyrus-sasl-xoauth2 + cd ~/Projects/klesh/cyrus-sasl-xoauth2 + ./autogen.sh + ./configure + sed -i 's%pkglibdir = ${CYRUS_SASL_PREFIX}/lib/sasl2%pkglibdir = ${CYRUS_SASL_PREFIX}/lib/x86_64-linux-gnu/sasl2%' Makefile + make + sudo make install esac