Skip to content

Commit 5eb8432

Browse files
committed
refactor: improve entrypoint-user.sh script
- Clear modules directory if not on master branch - Update LGSM after clearing modules directory
1 parent 65d5d2a commit 5eb8432

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

entrypoint-user.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ fi
2424
if [ "${LGSM_GITHUBBRANCH}" != "master" ]; then
2525
echo -e "not master branch, clearing modules directory"
2626
rm -rf /app/lgsm/modules/*
27+
./"${GAMESERVER}" update-lgsm
2728
elif [ -d "/app/lgsm/modules" ]; then
2829
echo -e "ensure all modules are executable"
2930
chmod +x /app/lgsm/modules/*

0 commit comments

Comments
 (0)