mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-25 18:16:17 +00:00
Change to dpkg -i
This commit is contained in:
parent
775ed987db
commit
9e6770f03b
@ -38,7 +38,7 @@ function update_script() {
|
||||
omd stop monitoring &>/dev/null
|
||||
omd cp monitoring monitoringbackup &>/dev/null
|
||||
wget -q https://download.checkmk.com/checkmk/${RELEASE}/check-mk-raw-${RELEASE}_0.bookworm_amd64.deb -O /opt/checkmk.deb
|
||||
apt-get install -y /opt/checkmk.deb &>/dev/null
|
||||
dpkg -i /opt/checkmk.deb &>/dev/null
|
||||
omd --force -V ${RELEASE}.cre update --conflict=install &>/dev/null
|
||||
omd start monitoring &>/dev/null
|
||||
omd rm monitoringbackup &>/dev/null
|
||||
|
@ -24,7 +24,7 @@ msg_info "Install Checkmk"
|
||||
#RELEASE=$(curl -fsSL https://api.github.com/repos/checkmk/checkmk/tags | grep "name" | awk '{print substr($2, 3, length($2)-4) }' | grep -v "*-rc" | tail -n +2 | head -n 1)
|
||||
RELEASE="2.3.0p12"
|
||||
wget -q https://download.checkmk.com/checkmk/${RELEASE}/check-mk-raw-${RELEASE}_0.bookworm_amd64.deb -O /opt/checkmk.deb
|
||||
$STD apt-get install -y /opt/checkmk.deb
|
||||
$STD dpkg -i /opt/checkmk.deb
|
||||
echo "${RELEASE}" >"/opt/checkmk_version.txt"
|
||||
msg_ok "Installed Checkmk"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user