Make all shell scripts using /bin/bash instead /bin/sh to be able to FAI's environment.
[grml-live.git] / etc / grml / fai / config / scripts / GRMLBASE / 99-finish-grml-build
index 33d9b73..ef117ae 100755 (executable)
@@ -1,10 +1,9 @@
-#!/bin/sh
+#!/bin/bash
 # Filename:      /etc/grml/fai/config/scripts/GRMLBASE/99-finish-grml-build
 # Purpose:       finalize grml chroot build
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2 or any later version.
-# Latest change: Sun Dec 16 18:33:15 CET 2007 [mika]
 ################################################################################
 
 set -u
@@ -15,6 +14,7 @@ set -e
 if [ -r $target/etc/apt/apt.conf ] ; then
    sed -i "s#^Acquire::http::Pipeline-Depth.*#// &#"  $target/etc/apt/apt.conf
    sed -i "s#^APT::Install-Recommends.*#// &#"        $target/etc/apt/apt.conf
+   # Notice: deprecated since aptitude (0.4.11-1):
    sed -i "s#^Aptitude::Recommends-Important.*#// &#" $target/etc/apt/apt.conf
 fi