public static function installBundle( Event $event )
	{
		$event->getIO()->write( 'Installing the Aimeos shop bundle' );

		$options = self::getOptions( $event );
		$securedir = 'var';

		if( isset( $options['symfony-app-dir'] ) && is_dir( $options['symfony-app-dir'] ) ) {
			$securedir = $options['symfony-app-dir'];
		}

		if( isset( $options['symfony-var-dir'] ) && is_dir( $options['symfony-var-dir'] ) ) {
			$securedir = $options['symfony-var-dir'];
		}

		$webdir = ( isset( $options['symfony-web-dir'] ) ? $options['symfony-web-dir'] : 'public' );

		self::createDirectory( $securedir . '/secure' );
		self::createDirectory( $webdir . '/preview' );
		self::createDirectory( $webdir . '/files' );
	}
public static function installBundle( Event $event )
	{
		$event->getIO()->write( 'Installing the Aimeos shop bundle' );

		$options = self::getOptions( $event );
		$securedir = 'var';

		if( isset( $options['symfony-app-dir'] ) && is_dir( $options['symfony-app-dir'] ) ) {
			$securedir = $options['symfony-app-dir'];
		}

		if( isset( $options['symfony-var-dir'] ) && is_dir( $options['symfony-var-dir'] ) ) {
			$securedir = $options['symfony-var-dir'];
		}

		$webdir = ( isset( $options['symfony-web-dir'] ) ? $options['symfony-web-dir'] : 'public' );

		self::createDirectory( $securedir . '/secure' );
		self::createDirectory( $webdir . '/preview' );
		self::createDirectory( $webdir . '/files' );
	}
public static function installBundle ( Event $ event ) { $ event -> getIO ( ) -> write ( 'Installing the Aimeos shop bundle' ) ; $ options = self :: getOptions ( $ event ) ; $ securedir = 'var' ; if ( isset ( $ options [ 'symfony-app-dir' ] ) && is_dir ( $ options [ 'symfony-app-dir' ] ) ) { $ securedir = $ options [ 'symfony-app-dir' ] ; } if ( isset ( $ options [ 'symfony-var-dir' ] ) && is_dir ( $ options [ 'symfony-var-dir' ] ) ) { $ securedir = $ options [ 'symfony-var-dir' ] ; } $ webdir = ( isset ( $ options [ 'symfony-web-dir' ] ) ? $ options [ 'symfony-web-dir' ] : 'public' ) ; self :: createDirectory ( $ securedir . '/secure' ) ; self :: createDirectory ( $ webdir . '/preview' ) ; self :: createDirectory ( $ webdir . '/files' ) ; }
Installs the shop bundle.

@param Event $event Event instance
@throws \RuntimeException If an error occured
Installs the shop bundle .