src/Installer.php
public function getInstallPath(PackageInterface $package)
	{
		if ($package->getType() === 'grape-fluid-module') {
			return 'modules' . DIRECTORY_SEPARATOR . $this->getPackageName($package);
		} elseif ($package->getType() === 'grape-fluid-plugin') {
			return 'plugins' . DIRECTORY_SEPARATOR . $this->getPackageName($package);
		} elseif ($package->getType() === 'grape-fluid-bin') {
			return 'bin';
		} elseif ($package->getType() === 'grape-fluid-assets') {
			if ($package->getPrettyName() !== "grape-fluid/assets") {
				return 'assets' . DIRECTORY_SEPARATOR . str_replace('grape-fluid/', '', $package->getPrettyName());
			} else {
				return 'assets' . DIRECTORY_SEPARATOR . 'grape-fluid';
			}
		} else {
			return DIRECTORY_SEPARATOR;
		}
	}
public function getInstallPath(PackageInterface $package)
	{
		if ($package->getType() === 'grape-fluid-module') {
			return 'modules' . DIRECTORY_SEPARATOR . $this->getPackageName($package);
		} elseif ($package->getType() === 'grape-fluid-plugin') {
			return 'plugins' . DIRECTORY_SEPARATOR . $this->getPackageName($package);
		} elseif ($package->getType() === 'grape-fluid-bin') {
			return 'bin';
		} elseif ($package->getType() === 'grape-fluid-assets') {
			if ($package->getPrettyName() !== "grape-fluid/assets") {
				return 'assets' . DIRECTORY_SEPARATOR . str_replace('grape-fluid/', '', $package->getPrettyName());
			} else {
				return 'assets' . DIRECTORY_SEPARATOR . 'grape-fluid';
			}
		} else {
			return DIRECTORY_SEPARATOR;
		}
	}
{@inheritDoc}