summarylogtreecommitdiffstats
path: root/0001-local_to_share.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-local_to_share.patch')
-rw-r--r--0001-local_to_share.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/0001-local_to_share.patch b/0001-local_to_share.patch
new file mode 100644
index 000000000000..a2b838769fc6
--- /dev/null
+++ b/0001-local_to_share.patch
@@ -0,0 +1,26 @@
+diff --git a/kcptun-client-plugin b/kcptun-client-plugin
+index f963d89..28bd3c5 100755
+--- a/kcptun-client-plugin
++++ b/kcptun-client-plugin
+@@ -3,7 +3,7 @@
+ set -e
+
+ if [ ! -f $(basename $0) ]; then
+- cd /usr/local/kcptun_plugins;
++ cd /usr/share/kcptun_plugins;
+ fi
+
+ source ./lib
+diff --git a/kcptun-server-plugin b/kcptun-server-plugin
+index ea97668..cd3de6b 100755
+--- a/kcptun-server-plugin
++++ b/kcptun-server-plugin
+@@ -3,7 +3,7 @@
+ set -e
+
+ if [ ! -f $(basename $0) ]; then
+- cd /usr/local/kcptun_plugins;
++ cd /usr/share/kcptun_plugins;
+ fi
+
+ source ./lib