summaryrefslogtreecommitdiffstats
path: root/move
diff options
context:
space:
mode:
Diffstat (limited to 'move')
-rw-r--r--move/move.pm1
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($_));