#NEWLINE# def install( self , flags , troveCs ) : #NEWLINE# #INDENT# absTroveInfo = troveCs . getFrozenTroveInfo ( ) #NEWLINE# capsuleInfo = trove . TroveInfo . find ( trove . _TROVEINFO_TAG_CAPSULE , absTroveInfo ) #NEWLINE# if ( ( not capsuleInfo ) or ( not capsuleInfo . type ( ) ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# if ( troveCs . getOldVersion ( ) and troveCs . getOldVersion ( ) . onLocalLabel ( ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# if self . skipCapsuleOps : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# if troveCs . getNewVersion ( ) . onPhantomLabel ( ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# capsule = self . getCapsule ( capsuleInfo . type ( ) ) #NEWLINE# capsule . install ( flags , troveCs ) #NEWLINE# return True