X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fhooks%2Finstsoft.GRMLBASE;h=5e543f28da5e2649323e147662a154b409e2407d;hp=f3cf9ecf37399bc1553ef344ebc2dd25b7fab106;hb=55b6f63b136105fdf7773216d8375e6d265bcb55;hpb=bc3fb695369f16a11cbbb6ab57bd7d6898fe6f52 diff --git a/etc/grml/fai/config/hooks/instsoft.GRMLBASE b/etc/grml/fai/config/hooks/instsoft.GRMLBASE index f3cf9ec..5e543f2 100755 --- a/etc/grml/fai/config/hooks/instsoft.GRMLBASE +++ b/etc/grml/fai/config/hooks/instsoft.GRMLBASE @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2 or any later version. -# Latest change: Thu Oct 18 14:18:44 CEST 2007 [mika] +# Latest change: Sat Oct 27 02:15:35 CEST 2007 [mika] ################################################################################ set -u @@ -20,6 +20,11 @@ gpg --keyserver blackhole.pca.dfn.de --recv-keys F61E2E7CECDEA787 gpg --export F61E2E7CECDEA787 > $target/etc/apt/grml.key $ROOTCMD apt-key add /etc/apt/grml.key +# make sure we prefer grml repository: +if [ -r /etc/grml/fai/files/etc/apt/preferences ] ; then + cp /etc/grml/fai/apt//preferences $target/etc/apt/preferences +fi + # make sure we have file-rc available before # package_config/GRML is being executed: $ROOTCMD apt-get update