master-qa-7382

http://issues.liferay.com/browse/LIFERAYQA-7382

Like examples:

	<if>
		<isset property="set.permission.algorithm.5" />
		<then>
			<replace file="portal-impl/src/portal-ext.properties" token="#permissions.user.check.algorithm=5" value="permissions.user.check.algorithm=5" />
			<replace file="portal-impl/src/portal-ext.properties" token="#permissions.view.dynamic.inheritance=false" value="permissions.view.dynamic.inheritance=false" />
		</then>
	</if>

	<if>
		<isset property="set.permission.algorithm.6" />
		<then>
			<replace file="portal-impl/src/portal-ext.properties" token="permissions.user.check.algorithm=5" value="" />
			<replace file="portal-impl/src/portal-ext.properties" token="permissions.view.dynamic.inheritance=false" value="" />
		</then>
	</if>