From 01d0d14f5ee949e34a45811cf1b17178ceecb6a1 Mon Sep 17 00:00:00 2001 From: Holger Paradies Date: Mon, 11 Nov 2013 23:58:53 +0100 Subject: fix chrome --- auto/config | 2 +- config/chroot_local-hooks/00-sources.list | 7 ++++++- config/lists/google-chrome | 1 + config/repositories/chrome | 2 -- config/repositories/chrome.gpg | 31 ------------------------------- config/repositories/google-chrome | 3 +++ config/repositories/google-chrome.gpg | 31 +++++++++++++++++++++++++++++++ 7 files changed, 42 insertions(+), 35 deletions(-) create mode 100644 config/lists/google-chrome delete mode 100644 config/repositories/chrome delete mode 100644 config/repositories/chrome.gpg create mode 100644 config/repositories/google-chrome create mode 100644 config/repositories/google-chrome.gpg diff --git a/auto/config b/auto/config index 0c8092c..f169df5 100755 --- a/auto/config +++ b/auto/config @@ -70,7 +70,7 @@ esac grep -wq trinity <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" trinity" grep -wq -e virtualbox -e vbox <<<"$LB_PACKAGES $LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" vbox" grep -wq -e opera <<<"$LB_PACKAGES $LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" opera" -grep -wq chrome <<<"$LB_PACKAGES $LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" chrome" +grep -wq google-chrome <<<"$LB_PACKAGES $LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" google-chrome" grep -wq mesa <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" mesa" grep -wq steam <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" steam steam-wheezy" grep -wq firefox <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" firefox-wheezy" diff --git a/config/chroot_local-hooks/00-sources.list b/config/chroot_local-hooks/00-sources.list index 49eaf04..976b539 100755 --- a/config/chroot_local-hooks/00-sources.list +++ b/config/chroot_local-hooks/00-sources.list @@ -1,5 +1,10 @@ #!/bin/sh for file in /root/config/*; do [ -r $file ] && . $file; done -sed -i -e "s|@DISTRIBUTION@|${LB_DISTRIBUTION}|g" /etc/apt/sources.list +for x in /etc/apt/sources.list.d/*.list; do + if grep -q '### THIS FILE IS AUTOMATICALLY CONFIGURED ###' $x; then + rm -f $x + fi +done +sed -i -e "s|@DISTRIBUTION@|${LB_DISTRIBUTION}|g" /etc/apt/sources.list diff --git a/config/lists/google-chrome b/config/lists/google-chrome new file mode 100644 index 0000000..988464c --- /dev/null +++ b/config/lists/google-chrome @@ -0,0 +1 @@ +google-chrome-stable diff --git a/config/repositories/chrome b/config/repositories/chrome deleted file mode 100644 index 012b0de..0000000 --- a/config/repositories/chrome +++ /dev/null @@ -1,2 +0,0 @@ -# Google Chrome -deb http://dl.google.com/linux/chrome/deb/ stable main diff --git a/config/repositories/chrome.gpg b/config/repositories/chrome.gpg deleted file mode 100644 index d304031..0000000 --- a/config/repositories/chrome.gpg +++ /dev/null @@ -1,31 +0,0 @@ ------BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v1.4.10 (GNU/Linux) - -mQGiBEXwb0YRBADQva2NLpYXxgjNkbuP0LnPoEXruGmvi3XMIxjEUFuGNCP4Rj/a -kv2E5VixBP1vcQFDRJ+p1puh8NU0XERlhpyZrVMzzS/RdWdyXf7E5S8oqNXsoD1z -fvmI+i9b2EhHAA19Kgw7ifV8vMa4tkwslEmcTiwiw8lyUl28Wh4Et8SxzwCggDcA -feGqtn3PP5YAdD0km4S4XeMEAJjlrqPoPv2Gf//tfznY2UyS9PUqFCPLHgFLe80u -QhI2U5jt6jUKN4fHauvR6z3seSAsh1YyzyZCKxJFEKXCCqnrFSoh4WSJsbFNc4PN -b0V0SqiTCkWADZyLT5wll8sWuQ5ylTf3z1ENoHf+G3um3/wk/+xmEHvj9HCTBEXP -78X0A/0Tqlhc2RBnEf+AqxWvM8sk8LzJI/XGjwBvKfXe+l3rnSR2kEAvGzj5Sg0X -4XmfTg4Jl8BNjWyvm2Wmjfet41LPmYJKsux3g0b8yzQxeOA4pQKKAU3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hwZtUo1bR+MWiCjpvHtwAnA1R3IHqFLQ2X3xJ40XPuAyY -/FJG -=Quqp ------END PGP PUBLIC KEY BLOCK----- diff --git a/config/repositories/google-chrome b/config/repositories/google-chrome new file mode 100644 index 0000000..ab80a74 --- /dev/null +++ b/config/repositories/google-chrome @@ -0,0 +1,3 @@ +### THIS FILE IS AUTOMATICALLY CONFIGURED ### +# You may comment out this entry, but any other modifications may be lost. +deb http://dl.google.com/linux/chrome/deb/ stable main diff --git a/config/repositories/google-chrome.gpg b/config/repositories/google-chrome.gpg new file mode 100644 index 0000000..d304031 --- /dev/null +++ b/config/repositories/google-chrome.gpg @@ -0,0 +1,31 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.4.10 (GNU/Linux) + +mQGiBEXwb0YRBADQva2NLpYXxgjNkbuP0LnPoEXruGmvi3XMIxjEUFuGNCP4Rj/a +kv2E5VixBP1vcQFDRJ+p1puh8NU0XERlhpyZrVMzzS/RdWdyXf7E5S8oqNXsoD1z +fvmI+i9b2EhHAA19Kgw7ifV8vMa4tkwslEmcTiwiw8lyUl28Wh4Et8SxzwCggDcA +feGqtn3PP5YAdD0km4S4XeMEAJjlrqPoPv2Gf//tfznY2UyS9PUqFCPLHgFLe80u +QhI2U5jt6jUKN4fHauvR6z3seSAsh1YyzyZCKxJFEKXCCqnrFSoh4WSJsbFNc4PN +b0V0SqiTCkWADZyLT5wll8sWuQ5ylTf3z1ENoHf+G3um3/wk/+xmEHvj9HCTBEXP +78X0A/0Tqlhc2RBnEf+AqxWvM8sk8LzJI/XGjwBvKfXe+l3rnSR2kEAvGzj5Sg0X +4XmfTg4Jl8BNjWyvm2Wmjfet41LPmYJKsux3g0b8yzQxeOA4pQKKAU3Z4+rgzGmf +HdwCG5MNT2A5XxD/eDd+L4fRx0HbFkIQoAi1J3YWQSiTk15fw7RMR29vZ2xlLCBJ +bmMuIExpbnV4IFBhY2thZ2UgU2lnbmluZyBLZXkgPGxpbnV4LXBhY2thZ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