From eeb9806fb104a1e72e9f36d9fa6f7be8c7d56bd6 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sat, 17 Mar 2007 12:51:52 +0100 Subject: [PATCH] /etc/zsh/zshenv: fix sourcing of /etc/timezone --- debian/changelog | 6 ++++++ etc/zsh/zshenv | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 36cdef0..74e4335 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +grml-etc-core (0.2.33) unstable; urgency=low + + * /etc/zsh/zshenv: fix sourcing of /etc/timezone + + -- Michael Prokop Sat, 17 Mar 2007 12:51:36 +0100 + grml-etc-core (0.2.32) unstable; urgency=low * /etc/zsh/zshenv: source /etc/timezone if present diff --git a/etc/zsh/zshenv b/etc/zsh/zshenv index b29d249..f6d1e42 100644 --- a/etc/zsh/zshenv +++ b/etc/zsh/zshenv @@ -3,7 +3,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Sam Mär 17 12:18:26 CET 2007 [mika] +# Latest change: Sam Mär 17 12:51:25 CET 2007 [mika] ################################################################################ # This file is sourced on all invocations of the shell. # It is the 1st file zsh reads; it's read for every shell, @@ -34,7 +34,7 @@ [ -n "$LC_MESSAGES" ] && export LC_MESSAGES [ -r /etc/sysconfig/keyboard ] && source /etc/sysconfig/keyboard - [ -r /etc/timezone ] && source /etc/timezone + [ -r /etc/timezone ] && TZ=$(cat /etc/timezone) # set environment variables (important for autologin on tty) [ -z "$HOSTNAME" ] && export HOSTNAME=`hostname` -- 2.1.4