mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:59:25 +08:00
Update linux.sh
This commit is contained in:
@@ -47,12 +47,14 @@ Install_App()
|
||||
fi
|
||||
|
||||
if [ ! -f $InstallDir/bin/loki ];then
|
||||
rm -rf ./loki-linux-${ARCH_NAME}
|
||||
cd ${SourceDir} && unzip ${PT_FILE_TGZ}
|
||||
cp -rf ./loki-linux-${ARCH_NAME} ${InstallDir}/bin/loki
|
||||
rm -rf ./loki-linux-${ARCH_NAME}
|
||||
fi
|
||||
|
||||
if [ ! -f $InstallDir/bin/promtail ];then
|
||||
rm -rf ./promtail-linux-${ARCH_NAME}
|
||||
cd ${SourceDir} && unzip ${PT_FILE_TGZ}
|
||||
cp -rf ./promtail-linux-${ARCH_NAME} ${InstallDir}/bin/promtail
|
||||
rm -rf ./promtail-linux-${ARCH_NAME}
|
||||
|
||||
Reference in New Issue
Block a user