wok-next rev 6143
tazbb: log installation too
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 09 10:16:09 2010 +0200 (2010-09-09) |
parents | 44d32a3f9065 |
children | beb734799f48 |
files | tazbb/stuff/tazbb |
line diff
1.1 --- a/tazbb/stuff/tazbb Wed Sep 08 13:11:51 2010 +0000 1.2 +++ b/tazbb/stuff/tazbb Thu Sep 09 10:16:09 2010 +0200 1.3 @@ -406,9 +406,9 @@ 1.4 [ -n "$TAZBB_NO_INSTALL" ] && return 0 1.5 echo "(installing $PACKAGE-${VERSION}$EXTRAVERSION.tazpkg)" \ 1.6 > $DB_DIR/running 1.7 - yes | tazpkg install \ 1.8 - $PACKAGES_REPOSITORY/$PACKAGE-${VERSION}$EXTRAVERSION.tazpkg \ 1.9 - --forced 1.10 + script -ac "yes | tazpkg install \ 1.11 +$PACKAGES_REPOSITORY/$PACKAGE-${VERSION}$EXTRAVERSION.tazpkg --forced" \ 1.12 + $LOG_DIR/$pkg.log 1.13 return 0 1.14 fi 1.15 return 1