[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Makefile:



ChangeSet 1.1159.258.130, 2005/05/16 13:50:57+01:00, cl349@xxxxxxxxxxxxxxxxxxxx

        Makefile:
          Add time-label to /etc/xen.old directory name.
        Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>



 Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/Makefile b/Makefile
--- a/Makefile  2005-05-16 13:03:36 -04:00
+++ b/Makefile  2005-05-16 13:03:36 -04:00
@@ -157,7 +157,7 @@
 uninstall: DESTDIR=
 uninstall: D=$(DESTDIR)
 uninstall:
-       [ ! -d $(D)/etc/xen ] || mv -f $(D)/etc/xen $(D)/etc/xen.old
+       [ -d $(D)/etc/xen ] && mv -f $(D)/etc/xen $(D)/etc/xen.old-$(date +%s)
        rm -rf $(D)/etc/init.d/xend*
        rm -rf $(D)/usr/lib/libxc* $(D)/usr/lib/libxutil*
        rm -rf $(D)/usr/lib/python/xen $(D)/usr/include/xen

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.