From 40de0358dc43b2f12acdf7c1557efbf2bc77f485 Mon Sep 17 00:00:00 2001 From: lissav Date: Fri, 22 Jan 2010 15:45:09 +0000 Subject: [PATCH] trying to add removale of /etc/xCATMN successfull7 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5015 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/xCAT.spec | 5 +++++ 1 file changed, 5 insertions(+) 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 +