pkgs / make-git-checkout-seed: do not try and remove already removed file

We already removed the old previous days version here, so trying to
remove it again results in a cron email with:

rm: cannot remove '/srv/cache/lookaside//rpm-specs-epel7*.tar.xz': No such file or directory
rm: cannot remove '/srv/cache/lookaside//rpm-specs-epel8*.tar.xz': No such file or directory
rm: cannot remove '/srv/cache/lookaside//rpm-specs-epel9*.tar.xz': No such file or directory

So, drop that here so we don't get these daily emails.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2023-06-02 12:23:38 -07:00
parent a6cafe28ea
commit 0c81957b2d

View file

@ -117,7 +117,6 @@ ln -s rpm-specs-$DATE.tar.xz $OUTPUT_DIR/rpm-specs-latest.tar.xz
for branchname in ${EXTRA_BRANCHES[@]}; do
((verbose)) && echo tarring up rpm-specs for $branchname
tar -cf - -C$WORK_DIR $(basename $WORK_DIR/$EXTRA_BRANCHES_PREFIX$branchname) | xz -2 >$OUTPUT_DIR/.rpm-specs-$branchname-$DATE.tar.xz
rm $OUTPUT_DIR/rpm-specs-$branchname*.tar.xz
mv $OUTPUT_DIR/.rpm-specs-$branchname-$DATE.tar.xz $OUTPUT_DIR/rpm-specs-$branchname-$DATE.tar.xz
done