mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-12-26 00:52:46 +00:00
add packagist.sh
This commit is contained in:
parent
e68497c599
commit
8f1b133c2c
|
|
@ -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
|
||||
Loading…
Reference in New Issue