1
0
Fork 0

Fix lockfile

pull/539/head
Jordi Boggiano 2012-04-07 00:28:14 +02:00
parent a6e686b29e
commit 32e86ba410
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ class Locker
return strcmp($a['package'], $b['package']);
});
if ($lock !== $this->getLockData()) {
if (!$this->isLocked() || $lock !== $this->getLockData()) {
$this->lockFile->write($lock);
$this->lockDataCache = null;