summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author崔一鸣 <[email protected]>2019-01-24 19:05:55 +0800
committer崔一鸣 <[email protected]>2019-01-24 19:05:55 +0800
commit8cd75a1f9944e591f2f9fb195a51a4914c0775b7 (patch)
tree08d03ab8c19925fa70c5d40ea11389463500d07c
parent878b84e15916eb9a265f976ba40358349cc4ac8e (diff)
修改rpm打包脚本1.1.3develop-feature_dnat
-rw-r--r--script/rpm_build/mgw.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/rpm_build/mgw.spec b/script/rpm_build/mgw.spec
index 8ec8663..3b9fa5c 100644
--- a/script/rpm_build/mgw.spec
+++ b/script/rpm_build/mgw.spec
@@ -42,6 +42,7 @@ systemctl enable mgw.service
%postun
rm /etc/systemd/system/mgw.service
systemctl daemon-reload
+rm -rf /opt/mgw/
%clean
rm -rf $RPM_BUILD_DIR/*