summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_sysvinit
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_chroot_sysvinit')
-rwxr-xr-xhelpers/lh_chroot_sysvinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_chroot_sysvinit b/helpers/lh_chroot_sysvinit
index b0031ff..ec8613f 100755
--- a/helpers/lh_chroot_sysvinit
+++ b/helpers/lh_chroot_sysvinit
@@ -47,7 +47,7 @@ then
# Disable all
for FILE in chroot/etc/init.d/*
do
- Chroot "update-rc.d -f $(basename ${FILE}) remove"
+ Chroot chroot "update-rc.d -f $(basename ${FILE}) remove"
done
# Re-enable all required (taken from -f standard chroot)
@@ -56,7 +56,7 @@ then
if [ -f chroot/var/lib/dpkg/info/${PACKAGE}.postinst ]
then
# Re-configure if existing
- Chroot "/var/lib/dpkg/info/${PACKAGE}.postinst configure"
+ Chroot chroot "/var/lib/dpkg/info/${PACKAGE}.postinst configure"
fi
done