/**
* Somewhat self-explanatory. This just sets the 'installed' column in the
* database to 'TRUE' so our web UI knows that it's installed.
*
* @param InstallFile $install
* @return bool
*/
public function markPackageInstalled(InstallFile $install) : bool
{
$db = \Airship\get_database();
$db->beginTransaction();
$db->update('airship_package_cache', ['installed' => true, 'current_version' => $install->getVersion()], ['packagetype' => $this->type, 'supplier' => $this->supplier->getName(), 'name' => $this->package]);
self::$continuumLogger->store(LogLevel::DEBUG, 'Package marked as installed', $this->getLogContext($install));
return $db->commit();
}