LukeSmithxyz / mutt-wizard

A system for automatically configuring mutt and isync with a simple interface and safe passwords
GNU General Public License v3.0
2.39k stars 382 forks source link

if mbsync -v is less than 1.4.0 use old format, else use new format #956

Open arosl opened 1 year ago

arosl commented 1 year ago

Replace the check of apt-get with a check that looks at the version number of mbsync and use the old format if the version number is less than 1.4.0

arosl commented 1 year ago

fixes #936

LukeSmithxyz commented 1 year ago

You checked for it being not equal to 1.4.0.

Also, sort -V is not posix compliant.

medicalwei commented 1 year ago

According to their releases: https://sourceforge.net/projects/isync/files/isync/

I think a simple string compare should work?