tazwok view chroot-scripts/tank-bot @ rev 523

Fixed python compiled files to be removed after files.list is made. Added perl_compiled_files_remove function to remove these files before files.list is made since these are only made when compiling.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 14 17:53:42 2011 +0000 (2011-05-14)
parents d16b2ca09546
children 61b3b07955df
line source
1 #!/bin/sh
2 # Automate common management tasks.
4 # Update repositories
5 if [ ! -d /var/lib/tazpkg/installed/mercurial ]; then
6 tazpkg get-install mercurial
7 fi
8 tazwok update-wok
9 . /etc/slitaz/slitaz.conf
10 . /etc/slitaz/tazwok.conf
11 LOCAL_REPOSITORY="$SLITAZ_DIR/${undigest:-$SLITAZ_VERSION}"
12 cd $LOCAL_REPOSITORY/flavors
13 if [ ! -d .hg ]; then
14 [ "$SLITAZ_VERSION" == "cooking" ] && hg clone http://hg.slitaz.org/flavors .
15 [ "$SLITAZ_VERSION" == "stable" ] && hg clone http://hg.slitaz.org/flavors-stable .
16 else
17 hg pull -u
18 fi
19 clean-chroot
21 tazwok cook-commit --missing
22 tazwok check-incoming