diff options
author | Joerg Schirottke <master@kanotix.com> | 2014-05-04 22:01:09 +0200 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2014-05-04 22:09:34 +0200 |
commit | bf324ad77f560c940c4a68cbdf2a7bff50290eb0 (patch) | |
tree | 372bf64dcd9f56363aeb71f3d8ce78b3817edcd9 | |
parent | 8cca895c93b229f1e25a377c158622928abc3239 (diff) | |
download | kanotix-bf324ad77f560c940c4a68cbdf2a7bff50290eb0.zip kanotix-bf324ad77f560c940c4a68cbdf2a7bff50290eb0.tar.gz |
use steam-wheezy repo only for wheezy
-rwxr-xr-x | auto/config | 8 |
1 files changed, 7 insertions, 1 deletions
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" |