dracut-lib.sh: add copytree(), use it where applicable
authorWill Woods <wwoods@redhat.com>
Tue, 22 May 2012 21:55:00 +0000 (17:55 -0400)
committerHarald Hoyer <harald@redhat.com>
Tue, 29 May 2012 09:32:44 +0000 (11:32 +0200)
commit31cfc9aa5ec4ad304ba8615b71982441be251ba7
tree16737f4900901fb9b5652970e3c43ffa63218a13
parenta2ead9a486594e26c152aa04d935d70981ea79c8
dracut-lib.sh: add copytree(), use it where applicable

copytree() recursively copies the contents of SRC into DEST.

If DEST doesn't exist it is created; if it exists the contents of SRC
get merged into it (duplicate files are overwritten).
modules.d/45ifcfg/write-ifcfg.sh
modules.d/90livenet/fetch-liveupdate.sh
modules.d/99base/dracut-lib.sh
modules.d/99img-lib/img-lib.sh