otadump: init at 0.1.2 (#329129)
[NixPkgs.git] / pkgs / by-name / oh / oh-my-fish / 001-writable-omf-path.diff
blobd31fa8ee7ef5ba56716927dde64a9e51295cf25c
1 diff -Naur source/bin/install source-new/bin/install
2 --- source/bin/install 1969-12-31 21:00:01.000000000 -0300
3 +++ source-new/bin/install 2023-11-23 12:48:55.695330320 -0300
4 @@ -245,6 +245,8 @@
5 command cp -r "$OFFLINE_PATH" "$OMF_PATH"
6 or abort "Failed to copy source!"
8 + chmod -R u+w "$OMF_PATH"
10 # Set up Git remotes only if the offline install is a Git repository.
11 test -d "$OMF_PATH/.git"
12 and set_git_remotes