Skip to content
Snippets Groups Projects
Commit bc6570db authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

Improved logging method in update.sh

parent ba7d02e2
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment