Skip to content

Commit 24a5442

Browse files
committed
fix golang issue
1 parent 810eadd commit 24a5442

11 files changed

+17
-17
lines changed

ct/watcharr.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function update_script() {
3838
msg_info "Updating $APP to v${RELEASE}"
3939
temp_file=$(mktemp)
4040
temp_folder=$(mktemp -d)
41-
curl -fsSL "https://github.com/sbondCo/Watcharr/archive/refs/tags/v${RELEASE}.tar.gz" -o ""$temp_file""
41+
curl -fsSL "https://github.com/sbondCo/Watcharr/archive/refs/tags/v${RELEASE}.tar.gz" -o ""$temp_file""
4242
tar -xzf "$temp_file" -C "$temp_folder"
4343
rm -f /opt/watcharr/server/watcharr
4444
rm -rf /opt/watcharr/server/ui
@@ -77,4 +77,4 @@ description
7777
msg_ok "Completed Successfully!\n"
7878
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
7979
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
80-
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3080${CL}"
80+
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3080${CL}"

install/authentik-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ msg_info "Installing Golang"
8282
set +o pipefail
8383
temp_file=$(mktemp)
8484
golang_tarball=$(curl -fsSL https://go.dev/dl/ | grep -oP 'go[\d\.]+\.linux-amd64\.tar\.gz' | head -n 1)
85-
curl -fsSL "https://golang.org/dl/"$golang_tarball" -o ""$temp_file""
85+
curl -fsSL "https://golang.org/dl/${golang_tarball}" -o "$temp_file"
8686
tar -C /usr/local -xzf "$temp_file"
8787
ln -sf /usr/local/go/bin/go /usr/local/bin/go
8888
rm -f "$temp_file"

install/caddy-install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
3434
set +o pipefail
3535
temp_file=$(mktemp)
3636
golang_tarball=$(curl -fsSL https://go.dev/dl/ | grep -oP 'go[\d\.]+\.linux-amd64\.tar\.gz' | head -n 1)
37-
curl -fsSL "https://golang.org/dl/"$golang_tarball" -o ""$temp_file""
37+
curl -fsSL "https://golang.org/dl/${golang_tarball}" -o "$temp_file"
3838
tar -C /usr/local -xzf "$temp_file"
3939
ln -sf /usr/local/go/bin/go /usr/local/bin/go
4040
rm -f "$temp_file"
@@ -44,7 +44,7 @@ curl -fsSL "https://golang.org/dl/"$golang_tarball" -o ""$temp_file""
4444
msg_info "Setup xCaddy"
4545
cd /opt
4646
RELEASE=$(curl -fsSL https://api.github.com/repos/caddyserver/xcaddy/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
47-
curl -fsSL "https://github.com/caddyserver/xcaddy/releases/download/${RELEASE}/xcaddy_${RELEASE:1}_linux_amd64.deb" -o $(basename "https://github.com/caddyserver/xcaddy/releases/download/${RELEASE}/xcaddy_${RELEASE:1}_linux_amd64.deb")
47+
curl -fsSL "https://github.com/caddyserver/xcaddy/releases/download/${RELEASE}/xcaddy_${RELEASE:1}_linux_amd64.deb" -o $(basename "https://github.com/caddyserver/xcaddy/releases/download/${RELEASE}/xcaddy_${RELEASE:1}_linux_amd64.deb")
4848
$STD dpkg -i xcaddy_${RELEASE:1}_linux_amd64.deb
4949
rm -rf /opt/xcaddy*
5050
$STD xcaddy build
@@ -57,4 +57,4 @@ customize
5757
msg_info "Cleaning up"
5858
$STD apt-get -y autoremove
5959
$STD apt-get -y autoclean
60-
msg_ok "Cleaned"
60+
msg_ok "Cleaned"

install/memos-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ msg_info "Installing Golang"
4040
set +o pipefail
4141
temp_file=$(mktemp)
4242
golang_tarball=$(curl -fsSL https://go.dev/dl/ | grep -oP 'go[\d\.]+\.linux-amd64\.tar\.gz' | head -n 1)
43-
curl -fsSL "https://golang.org/dl/"$golang_tarball" -o ""$temp_file""
43+
curl -fsSL "https://golang.org/dl/${golang_tarball}" -o "$temp_file"
4444
tar -C /usr/local -xzf "$temp_file"
4545
ln -sf /usr/local/go/bin/go /usr/local/bin/go
4646
rm -f "$temp_file"

install/ollama-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ msg_info "Installing Golang"
2626
set +o pipefail
2727
temp_file=$(mktemp)
2828
golang_tarball=$(curl -fsSL https://go.dev/dl/ | grep -oP 'go[\d\.]+\.linux-amd64\.tar\.gz' | head -n 1)
29-
curl -fsSL "https://golang.org/dl/"$golang_tarball" -o ""$temp_file""
29+
curl -fsSL "https://golang.org/dl/${golang_tarball}" -o "$temp_file"
3030
tar -C /usr/local -xzf "$temp_file"
3131
ln -sf /usr/local/go/bin/go /usr/local/bin/go
3232
rm -f "$temp_file"

install/paperless-gpt-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ msg_info "Installing Golang"
3939
set +o pipefail
4040
temp_file=$(mktemp)
4141
golang_tarball=$(curl -fsSL https://go.dev/dl/ | grep -oP 'go[\d\.]+\.linux-amd64\.tar\.gz' | head -n 1)
42-
curl -fsSL "https://golang.org/dl/"$golang_tarball" -o ""$temp_file""
42+
curl -fsSL "https://golang.org/dl/${golang_tarball}" -o "$temp_file"
4343
tar -C /usr/local -xzf "$temp_file"
4444
ln -sf /usr/local/go/bin/go /usr/local/bin/go
4545
rm -f "$temp_file"

install/pocketid-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ msg_info "Installing Golang"
3535
set +o pipefail
3636
temp_file=$(mktemp)
3737
golang_tarball=$(curl -fsSL https://go.dev/dl/ | grep -oP 'go[\d\.]+\.linux-amd64\.tar\.gz' | head -n 1)
38-
curl -fsSL "https://golang.org/dl/"$golang_tarball" -o ""$temp_file""
38+
curl -fsSL "https://golang.org/dl/${golang_tarball}" -o "$temp_file"
3939
tar -C /usr/local -xzf "$temp_file"
4040
ln -sf /usr/local/go/bin/go /usr/local/bin/go
4141
rm -f "$temp_file"

install/rtsptoweb-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ msg_info "Installing Golang"
2121
set +o pipefail
2222
temp_file=$(mktemp)
2323
golang_tarball=$(curl -fsSL https://go.dev/dl/ | grep -oP 'go[\d\.]+\.linux-amd64\.tar\.gz' | head -n 1)
24-
curl -fsSL "https://golang.org/dl/"$golang_tarball" -o ""$temp_file""
24+
curl -fsSL "https://golang.org/dl/${golang_tarball}" -o "$temp_file"
2525
tar -C /usr/local -xzf "$temp_file"
2626
ln -sf /usr/local/go/bin/go /usr/local/bin/go
2727
rm -f "$temp_file"

install/seelf-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ msg_info "Installing Golang"
2323
set +o pipefail
2424
temp_file=$(mktemp)
2525
golang_tarball=$(curl -fsSL https://go.dev/dl/ | grep -oP 'go[\d\.]+\.linux-amd64\.tar\.gz' | head -n 1)
26-
curl -fsSL "https://golang.org/dl/"$golang_tarball" -o ""$temp_file""
26+
curl -fsSL "https://golang.org/dl/${golang_tarball}" -o "$temp_file"
2727
tar -C /usr/local -xzf "$temp_file"
2828
ln -sf /usr/local/go/bin/go /usr/local/bin/go
2929
set -o pipefail

install/sftpgo-install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ msg_info "Installing Golang"
2222
set +o pipefail
2323
temp_file=$(mktemp)
2424
golang_tarball=$(curl -fsSL https://go.dev/dl/ | grep -oP 'go[\d\.]+\.linux-amd64\.tar\.gz' | head -n 1)
25-
curl -fsSL "https://golang.org/dl/"$golang_tarball" -o ""$temp_file""
25+
curl -fsSL "https://golang.org/dl/${golang_tarball}" -o "$temp_file"
2626
tar -C /usr/local -xzf "$temp_file"
2727
ln -sf /usr/local/go/bin/go /usr/local/bin/go
2828
rm -f "$temp_file"
@@ -42,4 +42,4 @@ customize
4242
msg_info "Cleaning up"
4343
$STD apt-get -y autoremove
4444
$STD apt-get -y autoclean
45-
msg_ok "Cleaned"
45+
msg_ok "Cleaned"

0 commit comments

Comments
 (0)