wok-current rev 2119
mkpkgiso: do hg update website
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 31 14:36:40 2009 +0000 (2009-01-31) |
parents | 2452b18a0620 |
children | 2b197a75fa24 |
files | mirror-tools/stuff/usr/bin/mkpkgiso |
line diff
1.1 --- a/mirror-tools/stuff/usr/bin/mkpkgiso Sat Jan 31 09:32:09 2009 +0000 1.2 +++ b/mirror-tools/stuff/usr/bin/mkpkgiso Sat Jan 31 14:36:40 2009 +0000 1.3 @@ -117,6 +117,8 @@ 1.4 *\ --website\ *) 1.5 if [ -d /slitaz/home/slitaz/hg/website ]; then 1.6 echo -n "Adding web site" 1.7 + chroot /slitaz hg --repository /home/slitaz/hg/website pull >/dev/null 1.8 + chroot /slitaz hg --repository /home/slitaz/hg/website update >/dev/null 1.9 mkdir $TEMP_DIR/website 1.10 cp -a /slitaz/home/slitaz/hg/website/* $TEMP_DIR/website 1.11 cat >>$TEMP_DIR/install.sh<<EOF