From 0a656d22988b17c07a095424399075af1d0137b3 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 9 Dec 2021 11:20:51 +0100 Subject: [PATCH] Adding etc/profile.d/pp-admintools.sh --- etc/profile.d/pp-admintools.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 etc/profile.d/pp-admintools.sh diff --git a/etc/profile.d/pp-admintools.sh b/etc/profile.d/pp-admintools.sh new file mode 100644 index 0000000..870b9bc --- /dev/null +++ b/etc/profile.d/pp-admintools.sh @@ -0,0 +1,10 @@ +# Add /usr/libexec/pixelpark to the path for sh compatible users + +if [ -d /usr/libexec/pixelpark ] ; then + if [ -z "${PATH-}" ] ; then + export PATH=/usr/libexec/pixelpark + elif ! echo "${PATH}" | grep -q /usr/libexec/pixelpark ; then + export PATH="${PATH}:/usr/libexec/pixelpark" + fi +fi + -- 2.39.5