提交 5e310c53 编写于 作者: M Marc Cornellà

Fix syntax error in colored-man-pages

Commit 09d2a597 introduced the bug, which is due to using
single brackets conditions at the same time as *.

This commit should fix it and use double brackets everywhere
else.

Fixes #4699
上级 fe9ff63c
if [ "$OSTYPE" = solaris* ]
if [[ "$OSTYPE" = solaris* ]]
then
if [ ! -x "$HOME/bin/nroff" ]
if [[ ! -x "$HOME/bin/nroff" ]]
then
mkdir -p "$HOME/bin"
cat > "$HOME/bin/nroff" <<EOF
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册