projects
/
grml-debootstrap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Makefile: drop functions directory, no longer being relevant
[grml-debootstrap.git]
/
chroot-script
diff --git
a/chroot-script
b/chroot-script
index
766a59d
..
4a20fa7
100755
(executable)
--- a/
chroot-script
+++ b/
chroot-script
@@
-465,8
+465,12
@@
default_locales() {
# adjust timezone {{{
timezone() {
if [ -n "$TIMEZONE" ] ; then
# adjust timezone {{{
timezone() {
if [ -n "$TIMEZONE" ] ; then
- echo "Adjusting /etc/localtime"
- ln -sf "/usr/share/zoneinfo/$TIMEZONE" /etc/localtime
+ echo "Adjusting /etc/localtime"
+ ln -sf "/usr/share/zoneinfo/$TIMEZONE" /etc/localtime
+
+ echo "Setting /etc/timezone to $TIMEZONE"
+ printf '%s\n' "$TIMEZONE" > /etc/timezone
+
fi
}
# }}}
fi
}
# }}}