summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSSetup/Engine.pm
diff options
context:
space:
mode:
authorMichael Janczyk2009-11-03 18:08:39 +0100
committerMichael Janczyk2009-11-03 18:08:39 +0100
commit841a2d9b44e1e12332fe12bf25aea667f1758668 (patch)
treefc8d9a5ccece0604241084a4642fa04b74114606 /installer/OpenSLX/OSSetup/Engine.pm
parentdefault directories introduced. please test and say what you think. examples ... (diff)
downloadcore-841a2d9b44e1e12332fe12bf25aea667f1758668.tar.gz
core-841a2d9b44e1e12332fe12bf25aea667f1758668.tar.xz
core-841a2d9b44e1e12332fe12bf25aea667f1758668.zip
BINPATH added to PATH
support for vmplayer3 further simplifications through DEFAULTDIRS git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3180 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer/OpenSLX/OSSetup/Engine.pm')
-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