Hack: Ignore global lock if $ZYPP_READONLY_HACK
authorMichael Andres <ma@suse.de>
Thu, 24 Jan 2013 17:54:28 +0000 (18:54 +0100)
committerMichael Andres <ma@suse.de>
Wed, 27 Feb 2013 07:37:40 +0000 (08:37 +0100)
zypp/ZYppFactory.cc

index 5e72ba9..1c03903 100644 (file)
@@ -66,7 +66,7 @@ namespace zypp
   namespace zypp_readonly_hack
   { /////////////////////////////////////////////////////////////////
 
-    static bool active = false;
+    static bool active = getenv("ZYPP_READONLY_HACK");
 
     void IWantIt()
     {