Add 005-dotfiles-update-relative.patch for automatic relative updates.
authorW. Trevor King <wking@tremily.us>
Thu, 27 Sep 2012 13:29:19 +0000 (09:29 -0400)
committerW. Trevor King <wking@tremily.us>
Thu, 27 Sep 2012 13:29:28 +0000 (09:29 -0400)
Requires dotfiles-framework with

  commit 41b3be950978aa1012c8c67649ee807761739179
  Author: W. Trevor King <wking@tremily.us>
  Date:   Thu Sep 27 09:17:11 2012 -0400

    Pass update() options through to link().

local-patch.examples/005-dotfiles-update-relative.patch [new file with mode: 0644]

diff --git a/local-patch.examples/005-dotfiles-update-relative.patch b/local-patch.examples/005-dotfiles-update-relative.patch
new file mode 100644 (file)
index 0000000..8a346d3
--- /dev/null
@@ -0,0 +1,9 @@
+--- a/.bashrc.d/90dotfiles
++++ b/.bashrc.d/90dotfiles
+@@ -2,5 +2,5 @@
+ DS="$(which dotfiles.sh)"
+ if [ -n "${DS}" ] && [ -f "${DS}" ] && [ -x "${DS}" ]; then
+-      "${DS}" --dotfiles-dir ~/src/dotfiles update
++      "${DS}" --dotfiles-dir ~/src/dotfiles update --relative
+ fi