summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
Diffstat (limited to 'installer')
-rw-r--r--installer/OpenSLX/OSSetup/Engine.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/installer/OpenSLX/OSSetup/Engine.pm b/installer/OpenSLX/OSSetup/Engine.pm
index f5a27ee7..a46000ea 100644
--- a/installer/OpenSLX/OSSetup/Engine.pm
+++ b/installer/OpenSLX/OSSetup/Engine.pm
@@ -1122,6 +1122,12 @@ sub _generateDefaultDirs
spitFile("$targetRoot/$OPENSLX_DEFAULT_CONFDIR/openslx.conf",
"$openslxConfig");
+
+ # add BINDIR to PATH
+ my $openslxDefaultPath = "PATH=\$PATH:$OPENSLX_DEFAULT_BINDIR\n";
+ $openslxDefaultPath .= "export PATH";
+ spitFile("$targetRoot/etc/profile.d/openslx-binpath.sh",
+ "$openslxDefaultPath");
}
sub _copyUclibcRootfs