File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " opencode.ai" ,
33 "id" : " opencode.ai" ,
4- "version" : " 0.0.3 " ,
4+ "version" : " 0.0.4 " ,
55 "description" : " Install \" opencode\" binary" ,
66 "documentationURL" : " https://github.com/devcontainer-community/devcontainer-features/tree/main/src/opencode.ai" ,
77 "options" : {
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ set -o nounset
66set -o allexport
77readonly name=" opencode.ai"
88cd $HOME
9+ if [ " ${VERSION:- latest} " = " latest" ] || [ -z " ${VERSION:- } " ]; then
10+ VERSION=" "
11+ fi
912apt_get_update () {
1013 if [ " $( find /var/lib/apt/lists/* | wc -l) " = " 0" ]; then
1114 echo " Running apt-get update..."
@@ -31,7 +34,7 @@ install() {
3134 su $_REMOTE_USER -c " curl -fsSL https://opencode.ai/install | bash"
3235 apt_get_cleanup
3336}
34- ln -sf $HOME /.opencode/bin/opencode /usr/local/bin/opencode
37+ cp $HOME /.opencode/bin/opencode /usr/local/bin/opencode
3538echo_banner " devcontainer.community"
3639echo " Installing $name ..."
3740install " $@ "
You can’t perform that action at this time.
0 commit comments