未验证 提交 09c13f37 编写于 作者: A Ansgar

dep11: skip non-existing directories

Closes: #1029497
上级 a125ce56
......@@ -106,6 +106,9 @@ function dep11() {
for dir in ${extimportdists}; do
if [[ -d ${dir}/ ]]; then
for comp in main contrib non-free non-free-firmware; do
if ! [[ -d ${dir}/${comp} ]]; then
continue
fi
mkdir -p ${ftpdir}/dists/${dir}/${comp}/dep11
cd ${dir}/${comp}
rsync -rtq --delete --delete-after --exclude by-hash --exclude "./*.tmp" . ${ftpdir}/dists/${dir}/${comp}/dep11/.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册