mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-07-01 07:22:45 +00:00
add packagist.sh
This commit is contained in:
parent
e68497c599
commit
8f1b133c2c
8
packagist.sh
Executable file
8
packagist.sh
Executable file
@ -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…
x
Reference in New Issue
Block a user