* Handle the case where initScriptBuilder is not set.
svn path=/nixos/trunk/; revision=19014
This commit is contained in:
parent
44dafe885b
commit
01491abbfa
@ -45,12 +45,14 @@ if [ "$action" = "switch" -o "$action" = "boot" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
elif [ "@bootLoader@" = "generationsDir" ]; then
|
elif [ "@bootLoader@" = "generationsDir" ]; then
|
||||||
@menuBuilder@ @out@
|
@menuBuilder@ @out@
|
||||||
else
|
else
|
||||||
echo "Warning: don't know how to make this configuration bootable; please enable a boot loader." 1>&2
|
echo "Warning: don't know how to make this configuration bootable; please enable a boot loader." 1>&2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@initScriptBuilder@ @out@
|
if [ -n "@initScriptBuilder@" ]; then
|
||||||
|
@initScriptBuilder@ @out@
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Activate the new configuration.
|
# Activate the new configuration.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user