diff --git a/update.sh b/update.sh index f922f17968b435e0669a123aeaef0d17a83b535e..5d21b2eab4e54d1f4af09e651eabcd2e6f0c346b 100644 --- a/update.sh +++ b/update.sh @@ -16,11 +16,11 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # -[ -f update.log ] && mv update.log update.log.bak +savelog logs/update.log +exec &> logs/update.log -DOALL() { date -echo -n Updating... +echo Updating... reprepro -v -b . update if reprepro -v -b . update then @@ -36,9 +36,7 @@ sh purge.sh jaunty sh purge.sh karmic sh purge.sh lucid sh purge.sh maverick -echo listing... +echo Listing... find pool/ > files echo DONE -} -COLUMNS=500 DOALL 2>&1 | COLUMNS=500 tee update.log