aboutsummaryrefslogtreecommitdiffstats
path: root/opencode2-bin/opencode2
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-16 19:06:36 +0200
committerDanilo M. <danix@danix.xyz>2026-10-16 19:06:36 +0200
commit054c3ba211c6a8ef57fb1b2a3f23314cc54a40c6 (patch)
tree7cb36124233b87bb439ee8a6b58e02d6cc18def7 /opencode2-bin/opencode2
parent4f331cc9cf7cfe63c28194c7c4229429569c5099 (diff)
downloadmy-slackbuilds-054c3ba211c6a8ef57fb1b2a3f23314cc54a40c6.tar.gz
my-slackbuilds-054c3ba211c6a8ef57fb1b2a3f23314cc54a40c6.zip
opencode2-bin: drop wrapper, install binary as opencode
Upstream ships the binary as opencode; the wrapper existed only to keep v1/v2 config and state separate. v1 and v2 now share the binary path and the config/state directories, so the two packages conflict.
Diffstat (limited to 'opencode2-bin/opencode2')
-rw-r--r--opencode2-bin/opencode29
1 files changed, 0 insertions, 9 deletions
diff --git a/opencode2-bin/opencode2 b/opencode2-bin/opencode2
deleted file mode 100644
index 5f7bc4f..0000000
--- a/opencode2-bin/opencode2
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-# Launch OpenCode 2.0 with its own config and data directories, so it does
-# not read or write the v1 opencode package's ~/.config/opencode and
-# ~/.local/share/opencode. Edit the two paths below to relocate them.
-export XDG_CONFIG_HOME="$HOME/.config/opencode2"
-export XDG_DATA_HOME="$HOME/.local/share/opencode2"
-
-exec /usr/libexec/opencode2/opencode "$@"