#!/bin/bash # # Copyright (c) 2005-2006, Ingo Juergensmann # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # do-store_packages comes with ABSOLUTELY NO WARRANTY # cd /home/younie/packages #for source in `ls *_Sources`; do echo "Processing: $source" time /home/younie/bin/store_packages2.py sources full #done #for package in `ls *_Packages`; do echo "Processing: $package" touch control #touch /home/younie/bin/.maintenance time /home/younie/bin/store_packages2.py packages limited retry=`ls */.*.retry 1>/dev/null 2>&1` until [ -z "$retry" ] ; do time /home/younie/bin/store_packages2.py packages retry retry=`ls */.*.retry 1>/dev/null 2>&1` done #done rm /home/younie/bin/.maintenance >/dev/null