Skip to content

Commit 1e5395d

Browse files
authored
InspIRCd: Fix release name in release url (#4720)
* Update inspircd-install.sh * Update
1 parent dfb9869 commit 1e5395d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

ct/inspircd.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ function update_script() {
3535

3636
msg_info "Updating ${APP} to v${RELEASE}"
3737
cd /opt
38-
curl -fsSL "https://github.com/inspircd/inspircd/releases/download/v${RELEASE}/inspircd_${RELEASE}.deb12u1_amd64.deb" -o $(basename "https://github.com/inspircd/inspircd/releases/download/v${RELEASE}/inspircd_${RELEASE}.deb12u1_amd64.deb")
39-
$STD apt-get install "./inspircd_${RELEASE}.deb12u1_amd64.deb" -y
38+
curl -fsSL "https://github.com/inspircd/inspircd/releases/download/v${RELEASE}/inspircd_${RELEASE}.deb12u2_amd64.deb" -o $(basename "https://github.com/inspircd/inspircd/releases/download/v${RELEASE}/inspircd_${RELEASE}.deb12u2_amd64.deb")
39+
$STD apt-get install "./inspircd_${RELEASE}.deb12u2_amd64.deb" -y
4040
echo "${RELEASE}" >"/opt/${APP}_version.txt"
4141
msg_ok "Updated ${APP} to v${RELEASE}"
4242

@@ -45,7 +45,7 @@ function update_script() {
4545
msg_ok "Started Service"
4646

4747
msg_info "Cleaning up"
48-
rm -rf /opt/inspircd_${RELEASE}.deb12u1_amd64.deb
48+
rm -rf /opt/inspircd_${RELEASE}.deb12u2_amd64.deb
4949
msg_ok "Cleaned"
5050
msg_ok "Updated Successfully"
5151
else

install/inspircd-install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ update_os
1616
msg_info "Installing InspIRCd"
1717
RELEASE=$(curl -fsSL https://api.github.com/repos/inspircd/inspircd/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
1818
cd /opt
19-
curl -fsSL "https://github.com/inspircd/inspircd/releases/download/v${RELEASE}/inspircd_${RELEASE}.deb12u1_amd64.deb" -o $(basename "https://github.com/inspircd/inspircd/releases/download/v${RELEASE}/inspircd_${RELEASE}.deb12u1_amd64.deb")
20-
$STD apt-get install "./inspircd_${RELEASE}.deb12u1_amd64.deb" -y &>/dev/null
19+
curl -fsSL "https://github.com/inspircd/inspircd/releases/download/v${RELEASE}/inspircd_${RELEASE}.deb12u2_amd64.deb" -o $(basename "https://github.com/inspircd/inspircd/releases/download/v${RELEASE}/inspircd_${RELEASE}.deb12u2_amd64.deb")
20+
$STD apt-get install "./inspircd_${RELEASE}.deb12u2_amd64.deb" -y &>/dev/null
2121
cat <<EOF >/etc/inspircd/inspircd.conf
2222
<define name="networkDomain" value="helper-scripts.com">
2323
<define name="networkName" value="Proxmox VE Helper-Scripts">
@@ -40,7 +40,7 @@ motd_ssh
4040
customize
4141

4242
msg_info "Cleaning up"
43-
rm -rf /opt/inspircd_${RELEASE}.deb12u1_amd64.deb
43+
rm -rf /opt/inspircd_${RELEASE}.deb12u2_amd64.deb
4444
$STD apt-get -y autoremove
4545
$STD apt-get -y autoclean
4646
msg_ok "Cleaned"

0 commit comments

Comments
 (0)