GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: install script didnt use -e flag (#2009) · Rots/opencode@664d826

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • install
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎install‎

Copy file name to clipboardExpand all lines: install
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ case "$filename" in
3636
[[ "$arch" == "x64" ]] || exit 1
3737
;;
3838
*)
39-
echo "${RED}Unsupported OS/Arch: $os/$arch${NC}"
39+
echo -e "${RED}Unsupported OS/Arch: $os/$arch${NC}"
4040
exit 1
4141
;;
4242
esac
@@ -49,7 +49,7 @@ if [ -z "$requested_version" ]; then
4949
specific_version=$(curl -s https://api.github.com/repos/sst/opencode/releases/latest | awk -F'"' '/"tag_name": "/ {gsub(/^v/, "", $4); print $4}')
5050

5151
if [[ $? -ne 0 || -z "$specific_version" ]]; then
52-
echo "${RED}Failed to fetch version information${NC}"
52+
echo -e "${RED}Failed to fetch version information${NC}"
5353
exit 1
5454
fi
5555
else
@@ -96,7 +96,7 @@ download_and_install() {
9696
curl -# -L -o "$filename" "$url"
9797
unzip -q "$filename"
9898
mv opencode "$INSTALL_DIR"
99-
cd .. && rm -rf opencodetmp
99+
cd .. && rm -rf opencodetmp
100100
}
101101

102102
check_version

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.