summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xos-plugins/plugins/xserver/files/ubuntu-ng-gfx-install.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/os-plugins/plugins/xserver/files/ubuntu-ng-gfx-install.sh b/os-plugins/plugins/xserver/files/ubuntu-ng-gfx-install.sh
index d44c53fd..07631645 100755
--- a/os-plugins/plugins/xserver/files/ubuntu-ng-gfx-install.sh
+++ b/os-plugins/plugins/xserver/files/ubuntu-ng-gfx-install.sh
@@ -19,9 +19,11 @@ else
KVER=$(find /lib/modules/2.6* -maxdepth 0|sed 's,/lib/modules/,,g'|sort|tail -n1)
fi
+# TODO: check for build-essential !!
+
if [ ! -e "/usr/sbin/dkms" ]; then
echo -n " * DKMS not found: installing .."
- aptitude install dkms > /dev/null 2>&1
+ aptitude -y install dkms > /dev/null 2>&1
if [ $? -eq 1 ]; then
echo "fail"
echo " * Didn't get package dkms! Exit now!"