diff options
| author | shizhendong <[email protected]> | 2024-05-17 17:22:55 +0800 |
|---|---|---|
| committer | shizhendong <[email protected]> | 2024-05-17 17:22:55 +0800 |
| commit | b16a68d6005c5c7a5c8a32bdcdae83ec4d96ece7 (patch) | |
| tree | 00e04b146fd02c201d2aa7339905a0fbee8dce13 | |
| parent | efe8ce82ebd468ecaa687ffd4148e7e0e5b99111 (diff) | |
build: fpm 打包时添加依赖项nz_ipmi_exporter-24.01.04
| -rw-r--r-- | tools/afterinstall.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/afterinstall.sh b/tools/afterinstall.sh index ae45997..5bda702 100644 --- a/tools/afterinstall.sh +++ b/tools/afterinstall.sh @@ -93,7 +93,7 @@ if [ 1 -eq $1 ];then ! command -v ipmi-sel &> /dev/null; then echo 'freeipmi not found, start install' - flock /var/lib/rpm/.rpm.lock rpm -ivh /opt/nezha/ipmi_exporter/deps/freeipmi-1.5.7-3.el7.x86_64.rpm + yum install -y /opt/nezha/ipmi_exporter/deps/freeipmi-1.5.7-3.el7.x86_64.rpm echo 'freeipmi install completed' else echo 'freeipmi already exists' |
