diff --git a/packagist.sh b/packagist.sh new file mode 100755 index 0000000..3e38532 --- /dev/null +++ b/packagist.sh @@ -0,0 +1,8 @@ +#!/bin/bash +set -e + +php /usr/local/composer-mirror/bin/console app:crawler +# 6553/32768 +if [[ $RANDOM -le 6553 ]]; then + php /usr/local/composer-mirror/bin/console app:clear --expired=json +fi