From c0f2a41c8e9da23a8f17dc34c9cfea2e2a9cb358 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 21 Dec 2009 14:33:03 +0100 Subject: Ensure that precached-chroots are prepared as well. --- helpers/lh_chroot_dpkg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'helpers/lh_chroot_dpkg') diff --git a/helpers/lh_chroot_dpkg b/helpers/lh_chroot_dpkg index 7fd6e67ab..bf2950a77 100755 --- a/helpers/lh_chroot_dpkg +++ b/helpers/lh_chroot_dpkg @@ -66,7 +66,10 @@ EOF Create_lockfile .lock # Restore start-stop-daemon program - mv chroot/sbin/start-stop-daemon.orig chroot/sbin/start-stop-daemon + if [ -e chroot/sbin/start-stop-daemon.orig ] + then + mv chroot/sbin/start-stop-daemon.orig chroot/sbin/start-stop-daemon + fi # Removing stage file rm -f .stage/chroot_dpkg -- cgit v1.2.3