Update linux.sh

This commit is contained in:
dami 2025-08-02 19:26:38 +08:00
parent a62e01e02e
commit eb5079a5ef
1 changed files with 1 additions and 2 deletions

View File

@ -33,10 +33,9 @@ Install_App()
SourceDir=$serverPath/source/prometheus
InstallDir=$serverPath/prometheus
mkdir -p ${SourceDir}
mkdir -p ${InstallDir}
mkdir -p ${InstallDir}/bin
if [ ! -f ${SourceDir}/${FILE_TGZ} ];then
wget --no-check-certificate -O ${SourceDir}/${FILE_TGZ} https://github.com/prometheus/prometheus/releases/download/v${VERSION}/${FILE_TGZ}
fi