fix: support wsl
This commit is contained in:
parent
23afb971d0
commit
450cc87e82
|
@ -13,28 +13,34 @@ case "$PM" in
|
||||||
;;
|
;;
|
||||||
apt)
|
apt)
|
||||||
sudo apt install -y gettext libgettextpo-dev libxml2-utils xsltproc libidn11-dev libsasl2-dev liblmdb-dev \
|
sudo apt install -y gettext libgettextpo-dev libxml2-utils xsltproc libidn11-dev libsasl2-dev liblmdb-dev \
|
||||||
perl libssl-dev libnotmuch-dev msmtp lynx urlscan
|
perl libssl-dev libnotmuch-dev msmtp lynx urlscan libtool notmuch
|
||||||
|
|
||||||
# neomutt
|
# neomutt
|
||||||
git clone git@github.com:neomutt/neomutt.git ~/Projects/klesh/neomutt
|
if ! command -v neomutt; then
|
||||||
cd ~/Projects/klesh/neomutt
|
git clone https://github.com/neomutt/neomutt ~/Projects/klesh/neomutt
|
||||||
./configure --disable-doc --sasl --with-lmdb=/usr/lib
|
cd ~/Projects/klesh/neomutt
|
||||||
make
|
./configure --disable-doc --sasl --with-lmdb=/usr/lib
|
||||||
sudo make install
|
make
|
||||||
|
sudo make install
|
||||||
|
fi
|
||||||
|
|
||||||
# mutt-wizard
|
# mutt-wizard
|
||||||
git clone git@github.com:LukeSmithxyz/mutt-wizard.git ~/Projects/klesh/mutt-wizard
|
if ! command -v mailsync; then
|
||||||
cd ~/Projects/klesh/mutt-wizard
|
git clone https://github.com/LukeSmithxyz/mutt-wizard ~/Projects/klesh/mutt-wizard
|
||||||
sudo make install
|
cd ~/Projects/klesh/mutt-wizard
|
||||||
git clone git clone https://git.code.sf.net/p/isync/isync isync-isync ~/Project/klesh/isync-isync
|
sudo make install
|
||||||
|
fi
|
||||||
|
|
||||||
# isync
|
# isync
|
||||||
sudo cpan install Date::Parse
|
if ! command -v mbsync; then
|
||||||
cd ~/Projects/klesh/isync-isync
|
sudo cpan install Date::Parse
|
||||||
./autogen.sh
|
git clone https://git.code.sf.net/p/isync/isync ~/Projects/klesh/isync
|
||||||
./configure
|
cd ~/Projects/klesh/isync
|
||||||
make
|
./autogen.sh
|
||||||
sudo make install
|
./configure
|
||||||
|
make
|
||||||
|
sudo make install
|
||||||
|
fi
|
||||||
|
|
||||||
# isync xoauth2
|
# isync xoauth2
|
||||||
git clone https://github.com/moriyoshi/cyrus-sasl-xoauth2.git ~/Projects/klesh/cyrus-sasl-xoauth2
|
git clone https://github.com/moriyoshi/cyrus-sasl-xoauth2.git ~/Projects/klesh/cyrus-sasl-xoauth2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user