mirror of
https://github.com/php/systems.git
synced 2026-03-23 23:32:12 +01:00
16 lines
309 B
Bash
Executable File
16 lines
309 B
Bash
Executable File
#!/bin/sh
|
|
|
|
FILE=~alias/cvsusers.txt
|
|
|
|
wget -q -T 30 -O $FILE~ http://main.php.net/fetch/cvsforwarding.php?token=$TOKEN
|
|
|
|
if test $? -eq 0 -a -s $FILE~; then
|
|
mv $FILE~ $FILE
|
|
else
|
|
echo failed to update $FILE
|
|
rm -f $FILE~
|
|
exit 1
|
|
fi
|
|
|
|
setforward ~alias/cvsusers.cdb ~alias/cvsusers.tmp < ~alias/cvsusers.txt
|