Improve error handling for update-locale
authorMichael Prokop <mika@grml.org>
Tue, 12 Nov 2013 12:39:15 +0000 (13:39 +0100)
committerMichael Prokop <mika@grml.org>
Tue, 12 Nov 2013 13:06:32 +0000 (14:06 +0100)
commit2ef61aac8e83be7d8a53cf6914ce3c29004c2143
treee534ea0b2f9167c37e0e962b8483fde9ac5f6dc8
parent6e7a2c86d3a42f6477756a59f1a3de744cc091a3
Improve error handling for update-locale

Set absolute path to /usr/sbin/update-locale to make sure
the binary can be accessed no matter what's inside $PATH
and if it's not present inform user about it, but do not fail
because the locales-all package might be installed and it doesn't
provide the /usr/sbin/update-locale binary.
chroot-script