summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xauto/config7
1 files changed, 7 insertions, 0 deletions
diff --git a/auto/config b/auto/config
index 697fdc1..80668e6 100755
--- a/auto/config
+++ b/auto/config
@@ -100,6 +100,13 @@ grep -wq firefox <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" firefox"
grep -wq silverlight <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" silverlight"
grep -wq spotify <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" spotify"
grep -wq dropbox <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" dropbox"
+
+# special hack
+if grep -wq gfxdetect <<<"$LB_PACKAGES_LISTS"; then
+ LB_REPOSITORIES+=" nvidia mesa-11"
+ LB_LINUX_FLAVOURS="generic"
+fi
+
lb config noauto --linux-packages "$LB_LINUX_PACKAGES" --linux-flavours "$LB_LINUX_FLAVOURS" --repositories "$LB_REPOSITORIES"
# Fetch kanotix-scripts if necessary