From bf324ad77f560c940c4a68cbdf2a7bff50290eb0 Mon Sep 17 00:00:00 2001 From: Joerg Schirottke Date: Sun, 4 May 2014 22:01:09 +0200 Subject: use steam-wheezy repo only for wheezy --- auto/config | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/auto/config b/auto/config index ea5b95d..ddfb6d9 100755 --- a/auto/config +++ b/auto/config @@ -86,7 +86,13 @@ grep -wq msa9 <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" mesa-9" grep -wq msos <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" mesa-steamos" grep -wq nvidia <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" nvidia" grep -wq fglrx <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" fglrx" -grep -wq steam <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" steam steam-wheezy" +if grep -wq steam <<<"$LB_PACKAGES_LISTS"; then + if [ "$LB_DISTRIBUTION" = "wheezy" ]; then + LB_REPOSITORIES+=" steam steam-wheezy" + else + LB_REPOSITORIES+=" steam" + fi +fi grep -wq iceweasel <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" iceweasel" grep -wq firefox <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" firefox-wheezy" grep -wq silverlight <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" silverlight" -- cgit v1.0