summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_encryption
diff options
context:
space:
mode:
authorTiago Bortoletto Vaz <tiagovaz@safernet.org.br>2008-08-11 22:28:54 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:38 +0100
commit6205a24620be1025b802589501814626efed02f7 (patch)
tree13bc6858a98031f10083ab740306f29ff64e8d43 /helpers/lh_binary_encryption
parentc7bccbbf26106de79345257db99884d7c938856d (diff)
downloadlive-build-6205a24620be1025b802589501814626efed02f7.zip
live-build-6205a24620be1025b802589501814626efed02f7.tar.gz
Adding last modifications in order to have localization fully working in live-helper. This commit goes with some pt_BR translations just for testing. Thanks to Antonio Terceiro for helping and coding in some shell stuff.
Diffstat (limited to 'helpers/lh_binary_encryption')
-rwxr-xr-xhelpers/lh_binary_encryption6
1 files changed, 3 insertions, 3 deletions
diff --git a/helpers/lh_binary_encryption b/helpers/lh_binary_encryption
index 22db1df..b362ec0 100755
--- a/helpers/lh_binary_encryption
+++ b/helpers/lh_binary_encryption
@@ -35,7 +35,7 @@ case "${LH_ENCRYPTION}" in
exit 0
;;
*)
- Echo_error "Encryption type \"${LH_ENCRYPTION}\" not supported."
+ Echo_error "Encryption type %s not supported." "${LH_ENCRYPTION}"
exit 1
;;
esac
@@ -45,7 +45,7 @@ case "${LH_CHROOT_FILESYSTEM}" in
;;
*)
- Echo_error "Encryption not yet supported on ${LH_CHROOT_FILESYSTEM} filesystems."
+ Echo_error "Encryption not yet supported on %s filesystems." "${LH_CHROOT_FILESYSTEM}"
exit 1
;;
esac
@@ -84,7 +84,7 @@ Restore_cache cache/packages_binary
# Installing depends
Install_package
-Echo_message "Encrypting binary/${INITFS}/filesystem.${LH_CHROOT_FILESYSTEM} with ${LH_ENCRYPTION}..."
+Echo_message "Encrypting binary/%s/filesystem.%s with %s..." "${INITFS}" "${LH_CHROOT_FILESYSTEM}" "${LH_ENCRYPTION}"
if [ "${LH_CHROOT_BUILD}" = "enabled" ]
then