chore: 打包程序restagent变更omc

This commit is contained in:
TsMask
2024-03-19 20:20:12 +08:00
parent a4c71a4d70
commit b01bc44578
84 changed files with 308 additions and 190 deletions

View File

@@ -16,7 +16,7 @@ fi
case "${extension}" in
deb)
if [ ${neType} == "OMC" ]; then
systemctl stop restagent.service
systemctl stop omc.service
fi
expect <<EOF > ${logFile}
spawn dpkg -i --force-all "$filename"
@@ -31,7 +31,7 @@ EOF
;;
rpm)
if [ ${neType} == "OMC" ]; then
systemctl stop restagent.service
systemctl stop omc.service
fi
expect <<EOF > ${logFile}
spawn rpm -Uvh "$filename"