fix: active and rollback pkg issue

This commit is contained in:
simonzhangsz committed 2024-01-18 09:17:30 +08:00
1 parent b305761396
commit 01f65b85b5
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -6,7 +6,7 @@ extension=$(basename "${1}" | awk -F . '{print $NF}')
case "${extension}" in
deb)
if [ neType == "OMC" ]; then
if [ ${neType} == "OMC" ]; then
systemctl stop restagent.service
fi
expect <<EOF
@@ -18,7 +18,7 @@ case "${extension}" in
EOF
;;
rpm)
if [ neType == "OMC" ]; then
if [ ${neType} == "OMC" ]; then
systemctl stop restagent.service
fi
expect <<EOF
+2 -2
View File
@@ -6,7 +6,7 @@ extension=$(basename "${1}" | awk -F . '{print $NF}')
case "${extension}" in
deb)
if [ neType == "OMC" ]; then
if [ ${neType} == "OMC" ]; then
systemctl stop restagent.service
fi
expect <<EOF
@@ -18,7 +18,7 @@ case "${extension}" in
EOF
;;
rpm)
if [ neType == "OMC" ]; then
if [ ${neType} == "OMC" ]; then
systemctl stop restagent.service
fi
expect <<EOF