File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ update_os
1616msg_info " Installing InspIRCd"
1717RELEASE=$( curl -fsSL https://api.github.com/repos/inspircd/inspircd/releases/latest | grep " tag_name" | awk ' {print substr($2, 3, length($2)-4) }' )
1818cd /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
2121cat << 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
4040customize
4141
4242msg_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
4646msg_ok " Cleaned"
You can’t perform that action at this time.
0 commit comments