summary refs log tree commit diff
path: root/profiles/impermanence-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/impermanence-fix.patch')
-rw-r--r--profiles/impermanence-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/profiles/impermanence-fix.patch b/profiles/impermanence-fix.patch
new file mode 100644
index 0000000..c71a85e
--- /dev/null
+++ b/profiles/impermanence-fix.patch
@@ -0,0 +1,12 @@
+diff --git a/create-directories.bash b/create-directories.bash
+index 0c7c7f0..b959586 100755
+--- a/create-directories.bash
++++ b/create-directories.bash
+@@ -52,7 +52,7 @@ target="${target%/}"
+ realSource="$(realpath -m "$sourceBase$target")"
+ if [[ ! -d "$realSource" ]]; then
+     printf "Warning: Source directory '%s' does not exist; it will be created for you with the following permissions: owner: '%s:%s', mode: '%s'.\n" "$realSource" "$user" "$group" "$mode"
+-    mkdir --mode="$mode" "$realSource"
++    mkdir -p --mode="$mode" "$realSource"
+     chown "$user:$group" "$realSource"
+ fi
\ No newline at end of file