diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:36 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:36 +0200 |
commit | b7d07a269e4a2d1bac730e177bc6826a7cd450d5 (patch) | |
tree | 62003f7571c98e4dab5e1ed2628e98164b98a914 /src/scripts/12patch.sh | |
parent | 03c8a20c280c6888b4d274a3095013064b94e99b (diff) | |
download | vyos-live-build-b7d07a269e4a2d1bac730e177bc6826a7cd450d5.tar.gz vyos-live-build-b7d07a269e4a2d1bac730e177bc6826a7cd450d5.zip |
Adding live-package 0.99.14-1.
Diffstat (limited to 'src/scripts/12patch.sh')
-rw-r--r-- | src/scripts/12patch.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/scripts/12patch.sh b/src/scripts/12patch.sh index 7f072412f..326ba4ac3 100644 --- a/src/scripts/12patch.sh +++ b/src/scripts/12patch.sh @@ -35,7 +35,7 @@ Patch_runlevel () case "${1}" in apply) # Create init policy - echo > "${LIVE_CHROOT}"/usr/sbin/policy-rc.d <<EOF + cat > "${LIVE_CHROOT}"/usr/sbin/policy-rc.d <<EOF #!/bin/sh exit 101 @@ -73,6 +73,14 @@ Patch_network () echo "Acquire::http::Proxy \"${LIVE_PROXY_HTTP}\";" >> "${LIVE_CHROOT}"/etc/apt/apt.conf fi + # Configure recommends + if [ "${LIVE_RECOMMENDS}" = "yes" ] + then + echo "Aptitude::Recommends-Important \"true\";" >> "${LIVE_CHROOT}"/etc/apt/apt.conf + else + echo "Aptitude::Recommends-Important \"false\";" >> "${LIVE_CHROOT}"/etc/apt/apt.conf + fi + # Save host lookup table if [ -f "${LIVE_CHROOT}"/etc/hosts ] then |