Skip to content

Commit

Permalink
fix(deadline): reinstall repository even if version is not changed
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlove-aws committed Aug 30, 2021
1 parent 0cc1285 commit 821bab2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ if test -f "$REPOSITORY_FILE_PATH"; then
# The proper way to achieve this is to use a ini config manager tool to get the value of required key.
source $REPOSITORY_FILE_PATH > /dev/null 2>&1 || true
if [[ "$Version" = "$DEADLINE_REPOSITORY_VERSION" ]]; then
echo "Repository version $DEADLINE_REPOSITORY_VERSION already exists at path $REPOSITORY_FILE_PATH. Not proceeding with Repository installation."
exit 0
echo "Repository version $DEADLINE_REPOSITORY_VERSION already exists at path $REPOSITORY_FILE_PATH."
else
SplitVersion=(${Version//./ })
SplitRepoVersion=(${DEADLINE_REPOSITORY_VERSION//./ })
Expand Down

0 comments on commit 821bab2

Please sign in to comment.