about summary refs log tree commit diff
path: root/pkgs/by-name/oh/oh-my-fish/001-writable-omf-path.diff
blob: d31fa8ee7ef5ba56716927dde64a9e51295cf25c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naur source/bin/install source-new/bin/install
--- source/bin/install	1969-12-31 21:00:01.000000000 -0300
+++ source-new/bin/install	2023-11-23 12:48:55.695330320 -0300
@@ -245,6 +245,8 @@
   command cp -r "$OFFLINE_PATH" "$OMF_PATH"
     or abort "Failed to copy source!"

+  chmod -R u+w "$OMF_PATH"
+
   # Set up Git remotes only if the offline install is a Git repository.
   test -d "$OMF_PATH/.git"
     and set_git_remotes