diff options
author | Eugeni Dodonov <eugeni@mandriva.org> | 2010-08-25 13:16:52 +0000 |
---|---|---|
committer | Eugeni Dodonov <eugeni@mandriva.org> | 2010-08-25 13:16:52 +0000 |
commit | 5aeadd27583ae035a2d81b4b183eb72901fe1e10 (patch) | |
tree | 556a07ccfeb4c271757319619802123a65061b86 | |
parent | 05c03cc02ff0619fe90b361d1e7b53ffea111d87 (diff) | |
download | msec-5aeadd27583ae035a2d81b4b183eb72901fe1e10.tar msec-5aeadd27583ae035a2d81b4b183eb72901fe1e10.tar.gz msec-5aeadd27583ae035a2d81b4b183eb72901fe1e10.tar.bz2 msec-5aeadd27583ae035a2d81b4b183eb72901fe1e10.tar.xz msec-5aeadd27583ae035a2d81b4b183eb72901fe1e10.zip |
Properly handle cases when /etc/sysconfig/i18n is not there
-rw-r--r-- | cron-sh/functions.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cron-sh/functions.sh b/cron-sh/functions.sh index f5ae7a7..123ae11 100644 --- a/cron-sh/functions.sh +++ b/cron-sh/functions.sh @@ -1,7 +1,10 @@ #!/bin/bash # msec: shared function -. /etc/sysconfig/i18n +if [[ -f /etc/sysconfig/i18n ]]; then + . /etc/sysconfig/i18n +fi + if [[ -f /etc/profile.d/10lang.sh ]]; then . /etc/profile.d/10lang.sh fi |