From: Frank Brehm Date: Thu, 9 Dec 2021 10:20:51 +0000 (+0100) Subject: Adding etc/profile.d/pp-admintools.sh X-Git-Tag: 0.4.1~4^2~45 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=0a656d22988b17c07a095424399075af1d0137b3;p=pixelpark%2Fpp-admin-tools.git Adding 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 +