diff --git a/xCAT/xCAT.spec b/xCAT/xCAT.spec index 1a5f47aca..351281f8b 100644 --- a/xCAT/xCAT.spec +++ b/xCAT/xCAT.spec @@ -105,6 +105,7 @@ cp LICENSE.html $RPM_BUILD_ROOT/%{prefix}/share/doc/packages/xCAT %else . /etc/profile.d/xcat.sh %endif +touch /etc/xCATMN if [ "$1" = "1" ]; then #Only if installing for the first time.. $RPM_INSTALL_PREFIX0/sbin/xcatconfig -i else @@ -120,3 +121,7 @@ fi /install/postscripts /install/prescripts %defattr(-,root,root) +%postun +# removes MN file + rm /etc/xCATMN +