adapt files so that "networking" now also work with our new scheme

svn path=/nixpkgs/trunk/; revision=5049
This commit is contained in:
Armijn Hemel
2006-03-17 14:16:11 +00:00
parent 7c50890ebe
commit 35e30e7797
6 changed files with 21 additions and 13 deletions

View File

@@ -14,11 +14,14 @@ NIXPKGS=@nixpkgs@
start_deps() {
for i in $deps; do
name=`$i/control name`
if ! test -a $RCDIR/$name; then
echo "blaat"
if ! test -a "$RCDIR/$name"; then
echo $RCDIR/$name $i
@nix@/bin/nix-env -p $RCDIR/$name -i $i
fi
$i/control start
RETVAL=$?
if test $RETVAL != 0; then
exit $RETVAL
@@ -38,7 +41,6 @@ start_softdeps() {
$i/control start
#$i start
RETVAL=$?
if test $RETVAL != 0; then
continue
@@ -54,7 +56,7 @@ start() {
fi
# if not, continue
# launch all hard dependencies
#start_deps
start_deps
# launch all preferred dependencies
echo "softdeps" $softdeps
start_softdeps