summaryrefslogtreecommitdiff
path: root/man/50-xdg-data-dirs.sh
diff options
context:
space:
mode:
authorнаб <nabijaczleweli@nabijaczleweli.xyz>2021-12-12 20:27:04 +0100
committerнаб <nabijaczleweli@nabijaczleweli.xyz>2021-12-12 21:13:50 +0100
commitf1e6f93372ca2dcee75e3ef0ee6cbe9945cf41f4 (patch)
tree61210783bacd09d7699b5ffa3ca6686949608168 /man/50-xdg-data-dirs.sh
parent2e081f18d6e3fa7452b76898ad815f8b6e7c1a28 (diff)
downloadsystemd-f1e6f93372ca2dcee75e3ef0ee6cbe9945cf41f4.tar.gz
Change all fixed-path bash shebangs to /u/b/env bash outside test/
Diffstat (limited to 'man/50-xdg-data-dirs.sh')
-rwxr-xr-xman/50-xdg-data-dirs.sh4
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