SPECS: util-vserver.spec - restore also sysconfig files in triggerpostun
baggins
baggins at pld-linux.org
Mon Nov 24 00:17:57 CET 2008
Author: baggins Date: Sun Nov 23 23:17:57 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- restore also sysconfig files in triggerpostun
---- Files affected:
SPECS:
util-vserver.spec (1.212 -> 1.213)
---- Diffs:
================================================================
Index: SPECS/util-vserver.spec
diff -u SPECS/util-vserver.spec:1.212 SPECS/util-vserver.spec:1.213
--- SPECS/util-vserver.spec:1.212 Sun Nov 23 23:42:39 2008
+++ SPECS/util-vserver.spec Mon Nov 24 00:17:51 2008
@@ -553,6 +553,20 @@
/sbin/chkconfig --add vrootdevices
/sbin/chkconfig --add vprocunhide
/sbin/chkconfig --add vservers
+if [ ! -f /etc/sysconfig/vrootdevices ]; then
+ if [ ! -f /etc/sysconfig/vrootdevices.rpmsave ]; then
+ mv -f /etc/sysconfig/vrootdevices.rpmsave /etc/sysconfig/vrootdevices
+ else
+ mv -f /etc/sysconfig/vrootdevices.rpmnew /etc/sysconfig/vrootdevices
+ fi
+fi
+if [ ! -f /etc/sysconfig/vservers ]; then
+ if [ -f /etc/sysconfig/vservers.rpmsave ]; then
+ mv -f /etc/sysconfig/vservers.rpmsave /etc/sysconfig/vservers
+ else
+ mv -f /etc/sysconfig/vservers.rpmnew /etc/sysconfig/vservers
+ fi
+fi
%post
%{_sbindir}/setattr --barrier /vservers || :
@@ -890,6 +904,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.213 2008/11/23 23:17:51 baggins
+- restore also sysconfig files in triggerpostun
+
Revision 1.212 2008/11/23 22:42:39 baggins
- install missing dir
- typo
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/util-vserver.spec?r1=1.212&r2=1.213&f=u
More information about the pld-cvs-commit
mailing list