From 83cc9084a9c86d64cc092ae766cf0884b44f6e24 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 15 Nov 2012 13:50:36 +0100 Subject: [PATCH] bash startfiles: Add file to make sure that all paths are available. --- config/profile.d/extrapaths.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 config/profile.d/extrapaths.sh diff --git a/config/profile.d/extrapaths.sh b/config/profile.d/extrapaths.sh new file mode 100644 index 000000000..d712736bd --- /dev/null +++ b/config/profile.d/extrapaths.sh @@ -0,0 +1,11 @@ +# Make sure the basic paths are always available. + +pathmunge /bin +pathmunge /usr/bin +pathmunge /usr/local/bin + +for directory in $(find /opt/*/bin -maxdepth 1 -type d 2>/dev/null); do + pathmunge ${directory} after +done + +unset directory -- 2.39.2