diff options
Diffstat (limited to 'man/50-xdg-data-dirs.sh')
-rwxr-xr-x | man/50-xdg-data-dirs.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man/50-xdg-data-dirs.sh b/man/50-xdg-data-dirs.sh index 02216abf6c..5f042c5511 100755 --- a/man/50-xdg-data-dirs.sh +++ b/man/50-xdg-data-dirs.sh @@ -1,11 +1,11 @@ -#!/bin/bash +#!/bin/sh # SPDX-License-Identifier: CC0-1.0 # set the default value XDG_DATA_DIRS="${XDG_DATA_DIRS:-/usr/local/share/:/usr/share}" # add a directory if it exists -if [[ -d /opt/foo/share ]]; then +if [ -d /opt/foo/share ]; then XDG_DATA_DIRS="/opt/foo/share:${XDG_DATA_DIRS}" fi |