diff --git a/run.sh b/run.sh index 5484e1d..15133d7 100755 --- a/run.sh +++ b/run.sh @@ -7,6 +7,9 @@ group=$(stat -c "%g" .) if [ ! -d ./data ]; then mkdir ./data chown "$user:$group" ./data +else + # Delete old metadata files to force reposilite to fetch the latest updates. + find data \( -name maven-metadata.xml -o -name "*.module" \) -exec rm {} \; fi USER_ID=$user GROUP_ID=$group docker-compose up --build --exit-code-from sync-job