File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
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.1 " ,
4+ "version" : " 0.0.2 " ,
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 @@ -5,6 +5,7 @@ set -o noclobber
55set -o nounset
66set -o allexport
77readonly name=" opencode.ai"
8+ cd $HOME
89apt_get_update () {
910 if [ " $( find /var/lib/apt/lists/* | wc -l) " = " 0" ]; then
1011 echo " Running apt-get update..."
@@ -30,6 +31,7 @@ install() {
3031 su $_REMOTE_USER -c " curl -fsSL https://opencode.ai/install | bash"
3132 apt_get_cleanup
3233}
34+ ln -sf $HOME /.opencode/bin/opencode /usr/local/bin/opencode
3335echo_banner " devcontainer.community"
3436echo " Installing $name ..."
3537install " $@ "
You can’t perform that action at this time.
0 commit comments