summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_proc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-11-13 12:49:43 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:29 +0100
commit0c2e079c1050161852d728c31849eb9e67b46fad (patch)
tree2b6e0004323105f425a56b054714dcb57949998e /helpers/lh_chroot_proc
parenta79669177eed719c073a96f6cfd695eecf533c7b (diff)
downloadlive-build-0c2e079c1050161852d728c31849eb9e67b46fad.zip
live-build-0c2e079c1050161852d728c31849eb9e67b46fad.tar.gz
Outputting an own message when having more than one case in a helper, instead of a global one.
Diffstat (limited to 'helpers/lh_chroot_proc')
-rwxr-xr-xhelpers/lh_chroot_proc6
1 files changed, 4 insertions, 2 deletions
diff --git a/helpers/lh_chroot_proc b/helpers/lh_chroot_proc
index c0e1a76..eec9da0 100755
--- a/helpers/lh_chroot_proc
+++ b/helpers/lh_chroot_proc
@@ -36,13 +36,13 @@ Read_conffile config/source
Read_conffile "${LH_CONFIG}"
Set_defaults
-Echo_message "Begin mounting /proc..."
-
# Requiring stage file
Require_stagefile .stage/bootstrap
case "${1}" in
install)
+ Echo_message "Begin mounting /proc..."
+
# Checking stage file
Check_stagefile .stage/chroot_proc
@@ -69,6 +69,8 @@ case "${1}" in
;;
remove)
+ Echo_message "Begin unmounting /proc..."
+
# Checking lock file
Check_lockfile .lock