diff --git a/ct/inspircd.sh b/ct/inspircd.sh index a643e51c..6194c31c 100644 --- a/ct/inspircd.sh +++ b/ct/inspircd.sh @@ -70,7 +70,7 @@ check_container_resources msg_info "Updating ${APP} to v${RELEASE}" cd /opt wget -q https://github.com/inspircd/inspircd/releases/download/v${RELEASE}/inspircd_${RELEASE}.deb12u1_amd64.deb - apt-get install "./inspircd_${RELEASE}.deb12u1_amd64.deb" -y + apt-get install "./inspircd_${RELEASE}.deb12u1_amd64.deb" -y &>/dev/nul echo "${RELEASE}" >"/opt/${APP}_version.txt" msg_ok "Updated ${APP} to v${RELEASE}" @@ -94,4 +94,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${APP} server should be reachable by connecting to the following server. - ${BL}Server Name:${IP} Port:6667${CL} \n" + ${BL}Server Name:${IP} Port:6667${CL} \n" \ No newline at end of file diff --git a/install/inspircd-install.sh b/install/inspircd-install.sh index aeed3f03..bb5ebd80 100644 --- a/install/inspircd-install.sh +++ b/install/inspircd-install.sh @@ -16,7 +16,8 @@ update_os msg_info "Installing Dependencies" $STD apt-get install -y \ curl \ - mc + mc \ + sudo msg_ok "Installed Dependencies" @@ -24,7 +25,7 @@ msg_info "Installing InspIRCd" RELEASE=$(curl -s https://api.github.com/repos/inspircd/inspircd/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') cd /opt wget -q https://github.com/inspircd/inspircd/releases/download/v${RELEASE}/inspircd_${RELEASE}.deb12u1_amd64.deb -$STD apt-get install "./inspircd_${RELEASE}.deb12u1_amd64.deb" -y +$STD apt-get install "./inspircd_${RELEASE}.deb12u1_amd64.deb" -y &>/dev/null cat </etc/inspircd/inspircd.conf @@ -44,7 +45,7 @@ echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt" msg_ok "Installed InspIRCd" msg_info "Restarting Service" -systemctl restart inspircd +#systemctl restart inspircd msg_ok "Restarted Service" motd_ssh @@ -54,4 +55,4 @@ msg_info "Cleaning up" rm -rf /opt/inspircd_${RELEASE}.deb12u1_amd64.deb $STD apt-get -y autoremove $STD apt-get -y autoclean -msg_ok "Cleaned" +msg_ok "Cleaned" \ No newline at end of file diff --git a/json/inspircd.json b/json/inspircd.json index 8136c8d2..74858086 100644 --- a/json/inspircd.json +++ b/json/inspircd.json @@ -31,4 +31,4 @@ "password": null }, "notes": [] - } + } \ No newline at end of file