1
0
Fork 0

Update vendor dir modified time after every install/update, fixes #2764

pull/1344/head
Jordi Boggiano 2014-02-26 10:43:26 +01:00
parent b808ff5e28
commit e1e48b28f7
1 changed files with 5 additions and 0 deletions

View File

@ -297,6 +297,11 @@ class Installer
$eventName = $this->update ? ScriptEvents::POST_UPDATE_CMD : ScriptEvents::POST_INSTALL_CMD;
$this->eventDispatcher->dispatchCommandEvent($eventName, $this->devMode);
}
$vendorDir = $this->config->get('vendor-dir');
if (is_dir($vendorDir)) {
touch($vendorDir);
}
}
return 0;