From 6f5e2da03e5fd1af2200d2f55ca84647bc8d3626 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 23 Sep 2007 10:04:40 +0200 Subject: Adding live-package 0.99.22-1. --- helpers/lh_patchchroot | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 helpers/lh_patchchroot (limited to 'helpers/lh_patchchroot') diff --git a/helpers/lh_patchchroot b/helpers/lh_patchchroot new file mode 100755 index 000000000..ae99997c6 --- /dev/null +++ b/helpers/lh_patchchroot @@ -0,0 +1,18 @@ +#!/bin/sh + +# lh_patchchroot.sh + +# Some maintainer scripts can detect if they are in a chrooted system. +# Therefore, we create the needed file. + +case "${1}" in + apply) + # Create chroot file + echo "debian-live" > "${LIVE_CHROOT}"/etc/debian_chroot + ;; + + deapply) + # Remove chroot file + rm -f "${LIVE_CHROOT}"/etc/debian_chroot + ;; +esac -- cgit v1.2.3