package/tzdata: fix installation commands
authorYann E. MORIN <yann.morin.1998@free.fr>
Tue, 18 Nov 2014 18:38:27 +0000 (19:38 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 18 Nov 2014 20:50:05 +0000 (21:50 +0100)
commit20271a0011c21ed15704017ec83be6d21b47c1ac
tree5223ad8e6edd4944240496dfa3841517df778290
parent2c7151792024d1d05f00ee8a95e9dd4282510a3e
package/tzdata: fix installation commands

If the destination directory already exists (e.g. because of a re-run or
a custom skeleton), then the zoneinfo files will be installed in a
sub-directory of where we are trying to install them.

Fix that by creating the destination directory and copying the content
of the source directory.

Also fix the host install commands to match what we do in the target
install commands.

Reported-by: Martin Dorwig <dorwig@tetronik.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/tzdata/tzdata.mk