Commit 5e310c53 authored by Marc Cornellà's avatar Marc Cornellà
Browse files

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
parent fe9ff63c
if [ "$OSTYPE" = solaris* ] if [[ "$OSTYPE" = solaris* ]]
then then
if [ ! -x "$HOME/bin/nroff" ] if [[ ! -x "$HOME/bin/nroff" ]]
then then
mkdir -p "$HOME/bin" mkdir -p "$HOME/bin"
cat > "$HOME/bin/nroff" <<EOF cat > "$HOME/bin/nroff" <<EOF
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment