From: Jilles Tjoelker Date: Wed, 7 Jan 2004 14:53:08 +0000 (+0000) Subject: Copy /etc/localtime (so gremlins will steal intrinsics at appropriate times). X-Git-Tag: v1.6.1-roc-dev~583 X-Git-Url: https://skyeroc.xyz/gitweb/?a=commitdiff_plain;h=1540973c6ec6d148786164e3a3ec5512e1aa8b28;p=dgamelaunch Copy /etc/localtime (so gremlins will steal intrinsics at appropriate times). git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@115 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- diff --git a/dgl-create-chroot b/dgl-create-chroot index 9fdce0b..a0d4505 100755 --- a/dgl-create-chroot +++ b/dgl-create-chroot @@ -58,6 +58,9 @@ mkdir -p $chroot_path/bin $chroot_path/etc $chroot_path/var/mail echo "games:*:$shed_uid:$shed_gid:games:/nonexistent:" >$chroot_path/etc/passwd echo "games:*:$shed_gid:" >$chroot_path/etc/group +# Time zone information, NetHack uses this +[ -e /etc/localtime ] && cp /etc/localtime $chroot_path/etc + # Dungeon directory setup mkdir -p $chroot_path/dgldir/inprogress mkdir -p $chroot_path/dgldir/rcfiles