Edit

IABSD.fr/ports/base/bootstrap/files

Branch :

  • Show log

    Commit

  • Author : espie
    Date : 2012-11-01 09:58:05
    Hash : 1fbbf509
    Message : experimental work: build xenocara components as "packages" and hook them into dpb. not 100% ready yet, committed to keep working in tree.

  • component-install
  • #! /bin/sh
    data=$1
    set -e
    db=/var/db/components
    mkdir -p ${db}
    cat ${TRUEPREFIX}/libdata/base/${data}.gen|while read component tarball 
    do
    	w=`cat ${db}/${component} 2>/dev/null||true`
    	if [ "x$w" = "x$tarball" ]
    	then
    		continue
    	fi
    	echo "Installing $component from $tarball"
    	cd / && tar zxpf $tarball
    	echo $tarball >${db}/${component}
    done