slitaz-modular rev 79

Add tazpanel and slitaz-vz into local-mirror script.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Apr 16 18:30:51 2011 +0000 (2011-04-16)
parents c1efda801fa2
children 51467048ef4f
files initramfs/etc/local-mirror.conf initramfs/usr/bin/local-mirror
line diff
     1.1 --- a/initramfs/etc/local-mirror.conf	Fri Apr 15 21:04:12 2011 +0000
     1.2 +++ b/initramfs/etc/local-mirror.conf	Sat Apr 16 18:30:51 2011 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  REPOS="flavors flavors-stable slitaz-base-files \
     1.5   slitaz-boot-scripts slitaz-dev-tools slitaz-configs slitaz-doc \
     1.6   slitaz-doc-wiki-data slitaz-forge slitaz-modular slitaz-pizza \
     1.7 - slitaz-tools tank tazlito tazpkg tazusb \
     1.8 + slitaz-tools slitaz-vz tazlito tazpanel tazpkg tazusb \
     1.9   tazwok slitaz-dev-tools website wok wok-stable wok-tiny \
    1.10   wok-undigest"
    1.11  WWW="boot tank hg mirror pkgs bb doc pizza website people lfs"
     2.1 --- a/initramfs/usr/bin/local-mirror	Fri Apr 15 21:04:12 2011 +0000
     2.2 +++ b/initramfs/usr/bin/local-mirror	Sat Apr 16 18:30:51 2011 +0000
     2.3 @@ -3,6 +3,7 @@
     2.4  source /usr/lib/slitaz/libtaz
     2.5  source_lib commons
     2.6  check_root
     2.7 +. /etc/slitaz/slitaz.conf
     2.8  
     2.9  . /etc/local-mirror.conf
    2.10  
    2.11 @@ -79,8 +80,8 @@
    2.12  			[ -d $REPOS_DIR/flavors-stable ] && ln -sf $REPOS_DIR/flavors-stable $STABLE/flavors
    2.13  			[ -d $COOKING/wok ] || ln -sf $REPOS_DIR/wok $COOKING/clean-wok
    2.14  			[ -d $STABLE/wok ] || ln -sf $REPOS_DIR/wok-stable $STABLE/clean-wok
    2.15 -			[ -d $PKGDIR ] && ln -sf $PKGDIR /home/slitaz/$(cat /etc/slitaz-release)/packages
    2.16 -			[ -d $SRCDIR ] && ln -sf $SRCDIR /home/slitaz/$(cat /etc/slitaz-release)/src
    2.17 +			[ -d $PKGDIR ] && ln -sf $PKGDIR $LOCAL_REPOSITORY/packages
    2.18 +			[ -d $SRCDIR ] && ln -sf $SRCDIR $LOCAL_REPOSITORY/src
    2.19  		;;
    2.20  		mirror)
    2.21  			[ -d $REPOS_DIR/slitaz-dev-tools/mirror-tools/mirror-info ] && cp -a $REPOS_DIR/slitaz-dev-tools/mirror-tools/mirror-info $MAIN_WWW_DIR
    2.22 @@ -162,7 +163,9 @@
    2.23  			[ "$repo" = "slitaz-modular" ] && echo "contact = Christopher Rogers" >> $REPOS_DIR/$repo/.hg/hgrc
    2.24  			[ "$repo" = "slitaz-pizza" ] && echo "contact = Pascal Bellard" >> $REPOS_DIR/$repo/.hg/hgrc
    2.25  			[ "$repo" = "slitaz-tools" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc
    2.26 +			[ "$repo" = "slitaz-vz" ] && echo "contact = Eric Joseph-Alexandre" >> $REPOS_DIR/$repo/.hg/hgrc
    2.27  			[ "$repo" = "tazlito" ] && echo "contact = Pascal Bellard" >> $REPOS_DIR/$repo/.hg/hgrc
    2.28 +			[ "$repo" = "tazpanel" ] && echo "contact = Christophe Lincoln" >> $REPO_DIR/$repo/.hg/hgrc
    2.29  			[ "$repo" = "tazpkg" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc
    2.30  			[ "$repo" = "tazusb" ] && echo "contact = Eric Joseph-Alexandre" >> $REPOS_DIR/$repo/.hg/hgrc
    2.31  			[ "$repo" = "tazwok" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc
    2.32 @@ -186,10 +189,12 @@
    2.33  			[ "$repo" = "slitaz-modular" ] && echo "description = Scripts to make SliTaz Modular" >> $REPOS_DIR/$repo/.hg/hgrc
    2.34  			[ "$repo" = "slitaz-pizza" ] && echo "description = SliTaz Online flavor builder" >> $REPOS_DIR/$repo/.hg/hgrc
    2.35  			[ "$repo" = "slitaz-tools" ] && echo "description = SliTaz Tools and Tinyutils" >> $REPOS_DIR/$repo/.hg/hgrc
    2.36 +			[ "$repo" = "slitaz-vz" ] && echo "description = SliTaz OpenVZ integration" >> $REPOS_DIR/$repo/.hg/hgrc
    2.37  			[ "$repo" = "tazlito" ] && echo "description = SliTaz Live Tool" >> $REPOS_DIR/$repo/.hg/hgrc
    2.38 +			[ "$repo" = "tazpanel" ] && echo "description = Slitaz Administration Panel" >> $REPOS_DIR/$repo/.hg/hgrc
    2.39  			[ "$repo" = "tazpkg" ] && echo "description = SliTaz Packages manager" >> $REPOS_DIR/$repo/.hg/hgrc
    2.40  			[ "$repo" = "tazusb" ] && echo "description = SliTaz LiveUSB utility" >> $REPOS_DIR/$repo/.hg/hgrc
    2.41 -			[ "$repo" = "tazwok" ] && echo "description = Slitaz Packages builder" >> $REPOS_DIR/$repo/.hg/hgrc
    2.42 +			[ "$repo" = "tazwok" ] && echo "description = SliTaz Packages builder" >> $REPOS_DIR/$repo/.hg/hgrc
    2.43  			[ "$repo" = "website" ] && echo "description = SliTaz Website" >> $REPOS_DIR/$repo/.hg/hgrc
    2.44  			[ "$repo" = "wok" ] && echo "description = SliTaz Cooking wok" >> $REPOS_DIR/$repo/.hg/hgrc
    2.45  			[ "$repo" = "wok-stable" ] && echo "description = SliTaz Stable wok" >> $REPOS_DIR/$repo/.hg/hgrc
    2.46 @@ -227,7 +232,7 @@
    2.47  		else
    2.48  			[ -f $VHOST_FILE ] && ln -sf $VHOST_FILE /etc/lighttpd/vhosts.conf
    2.49  		fi
    2.50 -		chown -R www.www /home/slitaz/www
    2.51 +		chown -R www.www $SLITAZ_DIR/www
    2.52  		[ -f /etc/init.d/lighttpd ] && /etc/init.d/lighttpd start
    2.53  		;;
    2.54  	update-repos)