mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:29:26 +08:00
Update linux.sh
This commit is contained in:
@@ -39,9 +39,11 @@ Install_App()
|
||||
wget --no-check-certificate -O ${SourceDir}/${FILE_TGZ} https://github.com/prometheus/prometheus/releases/download/v${VERSION}/${FILE_TGZ}
|
||||
fi
|
||||
|
||||
|
||||
|
||||
if [ ! -d $InstallDir/bin/prometheus ];then
|
||||
cd ${SourceDir} && tar -zxvf ${FILE_TGZ}
|
||||
cd ${SourceDir}/prometheus-v*
|
||||
cd ${SourceDir}/prometheus-${VERSION}.linux-${ARCH_NAME}
|
||||
cp -rf ./* $InstallDir
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user