From 6eaa3525a6858a83546dc9c4ce621e59eae7085c Mon Sep 17 00:00:00 2001 From: Technetium <65681715+technetium-cfx@users.noreply.github.com> Date: Thu, 26 Nov 2020 17:00:22 +0100 Subject: [PATCH] Fix symlink targets. Targets are relative from the link, not the current directory. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 075f067..5264014 100644 --- a/README.md +++ b/README.md @@ -11,13 +11,13 @@ You can also consider using the repository as a submodule + symlink for your own **Linux**: ``` $ git submodule add https://github.com/citizenfx/cfx-server-data.git vendor/server-data -$ ln -s vendor/server-data/resources/ 'resources/[base]/' +$ ln -s ../vendor/server-data/resources/ 'resources/[base]/' ``` **Windows**: ``` > git submodule add https://github.com/citizenfx/cfx-server-data.git vendor/server-data -> mklink /d resources\[base] vendor\server-data\resources +> mklink /d resources\[base] ..\vendor\server-data\resources ``` ## Policy @@ -28,4 +28,4 @@ existing ones - anything goes, as long as you make sure to: 2. Not change default behavior without a toggle. 3. Use best practices (convars over config files, native commands wherever possible, etc.) -Modifying or rewriting existing resources in this repository for local use only is _strongly_ discouraged. \ No newline at end of file +Modifying or rewriting existing resources in this repository for local use only is _strongly_ discouraged.