summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/xserver/OpenSLX/OSPlugin
diff options
context:
space:
mode:
authorBastian Wissler2008-08-29 11:31:34 +0200
committerBastian Wissler2008-08-29 11:31:34 +0200
commitea946678e9ebc00d37b489ec4f22e2bbf2bc04a3 (patch)
treeb4beabaf77385081cc48631e94c8d720b620f7f5 /os-plugins/plugins/xserver/OpenSLX/OSPlugin
parent* removed uclibc-busybox from tools folder, too (as it is not being used) (diff)
downloadcore-ea946678e9ebc00d37b489ec4f22e2bbf2bc04a3.tar.gz
core-ea946678e9ebc00d37b489ec4f22e2bbf2bc04a3.tar.xz
core-ea946678e9ebc00d37b489ec4f22e2bbf2bc04a3.zip
First real stage3 implementation (I just thought last time)
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2128 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/xserver/OpenSLX/OSPlugin')
-rw-r--r--os-plugins/plugins/xserver/OpenSLX/OSPlugin/xserver.pm9
1 files changed, 8 insertions, 1 deletions
diff --git a/os-plugins/plugins/xserver/OpenSLX/OSPlugin/xserver.pm b/os-plugins/plugins/xserver/OpenSLX/OSPlugin/xserver.pm
index f0837293..67035c57 100644
--- a/os-plugins/plugins/xserver/OpenSLX/OSPlugin/xserver.pm
+++ b/os-plugins/plugins/xserver/OpenSLX/OSPlugin/xserver.pm
@@ -182,6 +182,7 @@ sub preInstallationPhase()
# Todo: use a openslx copy function!
system("cp -r $pkgpath $self->{pluginRepositoryPath}/packages");
}
+
}
@@ -224,7 +225,13 @@ sub installationPhase
}
if ($attrs->{'xserver::nvidia'} == 1) {
copyFile("$pluginFilesPath/nvidia-install.sh", "$installationPath");
- #system("/bin/sh /opt/openslx/plugin-repo/$self->{'name'}/nvidia-install.sh");
+ system("/bin/sh /opt/openslx/plugin-repo/$self->{'name'}/nvidia-install.sh");
+ }
+
+ if ($attrs->{'xserver::nvidia'} == 1
+ || $attrs->{'xserver::ati'} == 1 ) {
+ copyFile("$pluginFilesPath/ubuntu-gfx-install.sh",
+ "$installationPath");
}
# Some plugins have to copy files from their plugin folder into the