diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-06-30 08:44:31 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-06-30 08:44:31 +0000 |
commit | ab2a89f7a42c8935b28ac11c779dd2da62256350 (patch) | |
tree | 6ba2cb7806a3d6981f7a181dc3d9c4e271bb3962 | |
parent | aaf7e30df737fc769ec195a97a3951fee5345e7e (diff) | |
download | drakx-backup-do-not-use-ab2a89f7a42c8935b28ac11c779dd2da62256350.tar drakx-backup-do-not-use-ab2a89f7a42c8935b28ac11c779dd2da62256350.tar.gz drakx-backup-do-not-use-ab2a89f7a42c8935b28ac11c779dd2da62256350.tar.bz2 drakx-backup-do-not-use-ab2a89f7a42c8935b28ac11c779dd2da62256350.tar.xz drakx-backup-do-not-use-ab2a89f7a42c8935b28ac11c779dd2da62256350.zip |
create directories if needed for "READ" files of etcfiles
-rw-r--r-- | move/move.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/move/move.pm b/move/move.pm index b7c36b227..bb20a1156 100644 --- a/move/move.pm +++ b/move/move.pm @@ -57,6 +57,7 @@ sub handle_etcfiles { $allowed = member($mode, @allowed_modes); } elsif (m|^/| && $allowed) { if ($mode eq 'READ') { + mkdir_p(dirname($_)); symlinkf_short("/image$_", $_) if !-e $_; } elsif ($mode eq 'OVERWRITE') { mkdir_p(dirname($_)); |