[Piuparts-commits] rev 678 - piatti/home/piupartsm/bin
Holger Levsen
holger at alioth.debian.org
Thu Apr 1 10:19:56 UTC 2010
Author: holger
Date: 2010-04-01 10:19:54 +0000 (Thu, 01 Apr 2010)
New Revision: 678
Modified:
piatti/home/piupartsm/bin/detect_network_issues
Log:
delete failed logs due to network issues
Modified: piatti/home/piupartsm/bin/detect_network_issues
===================================================================
--- piatti/home/piupartsm/bin/detect_network_issues 2010-03-18 17:46:18 UTC (rev 677)
+++ piatti/home/piupartsm/bin/detect_network_issues 2010-04-01 10:19:54 UTC (rev 678)
@@ -46,18 +46,13 @@
echo "fetch.*Could not resolve' and 'E: Some index files failed to download'"
echo "in failed logs.)"
echo
- echo "Please review the following logfiles and most likely remove them."
- echo
- echo "If it is always the same package failing, it's likely to be an issue in the"
- echo "package."
+ echo "The following logfiles have been deleted:"
echo
- sort -u $FILE | sed -e "s#$MASTER#http://piuparts.debian.org/#g"
- echo
- sort -u $FILE | sed -e "s#$MASTER#less $MASTER#"
- echo
echo "----------------------------------------------------------------------"
echo
- sort -u $FILE | sed -e "s#$MASTER#rm $MASTER#"
+ for LOG in $(sort -u $FILE) ; do
+ rm -v $MASTER/$LOG
+ done
echo
fi
rm $FILE
More information about the Piuparts-commits
mailing list