Make it the qa wnpp list download more fault tolerant

上级 3950b987
......@@ -11,6 +11,12 @@ export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars
# get the latest list of wnpp bugs and their source packages
wget -q -O/srv/ftp-master.debian.org/scripts/masterfiles/wnpp_rm http://qa.debian.org/data/bts/wnpp_rm
if $( wget -q -O/srv/ftp-master.debian.org/scripts/masterfiles/wnpp_rm.tmp http://qa.debian.org/data/bts/wnpp_rm ) ; then
mv /srv/ftp-master.debian.org/scripts/masterfiles/wnpp_rm.tmp /srv/ftp-master.debian.org/scripts/masterfiles/wnpp_rm
else
if [ -f /srv/ftp-master.debian.org/scripts/masterfiles/wnpp_rm.tmp ] ; then
rm /srv/ftp-master.debian.org/scripts/masterfiles/wnpp_rm.tmp
fi
fi
################################################################################
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册