浏览代码

Merge e0de67cf9a into a8863a750a

undefined
andreas 1年前
committed by GitHub
父节点
当前提交
8d14bc1dc9
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 8 次插入8 次删除
  1. +8
    -8
      bin/mw

+ 8
- 8
bin/mw 查看文件

@@ -29,14 +29,14 @@ maxmes="0"

alias mbsync='mbsync -c "$mbsyncrc"'

# mbsync now requires "Far/Near" rather than "Master/Slave", but Ubuntu/Debian
# have the older version.
if command -V apt-get >/dev/null 2>&1; then
master="Master"
slave="Slave"
else
master="Far"
slave="Near"
# mbsync >= 1.4.0 requires "Far/Near" rather than "Master/Slave"
master="Far"
slave="Near"
mbsync_version=$(mbsync --version | cut -d' ' -f2)
#check if version is less than 1.4.0
if [[ "$(printf '1.4.0\n%s' "$mbsync_version" | sort -V | head -n1)" != "1.4.0" ]]; then
master="Master"
slave="Slave"
fi

for x in "/etc/ssl/certs/ca-certificates.crt" \


正在加载...
取消
保存