simp-environment RPM post install logic error

Description

https://github.com/simp/simp-environment-skeleton/blob/6.2.9/build/simp-environment.spec#L217 is incorrect for 2 reasons:

  • The test should be in double '[', otherwise -a is a logical AND. As written, the test should be if [[ ! -a "${codedir}/environments/production" ]; then

  • The test should check if there is a 'simp' environment before trying to link

Acceptance Criteria

None
Done
Your pinned fields
Click on the next to a field label to start pinning.

Story Points

2