diff options
author | madduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464> | 2006-11-11 19:54:38 +0000 |
---|---|---|
committer | madduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464> | 2006-11-11 19:54:38 +0000 |
commit | c0d4c14595676dc4e7f20f032f394f43d464655d (patch) | |
tree | 414165a5d6fd7b2ee93a4893d1ad24e3a241b0a6 /debian/initramfs | |
parent | 0a80972f381e22a6450ac7364d2847f8a54daa9c (diff) |
don't forget to create the target directory
Diffstat (limited to 'debian/initramfs')
-rw-r--r-- | debian/initramfs/hook | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/initramfs/hook b/debian/initramfs/hook index e921880b..a2974e9c 100644 --- a/debian/initramfs/hook +++ b/debian/initramfs/hook @@ -149,6 +149,7 @@ else fi if [ $use_temp -eq 1 ]; then + mkdir --parents ${DESTMDADMCONF%/*} tmpfile="${DESTMDADMCONF}.tmp" if /usr/share/mdadm/mkconf > $tmpfile; then # all is well, we now have a temporary configuration file |