* Handle the case where initScriptBuilder is not set.
svn path=/nixos/trunk/; revision=19014
This commit is contained in:
parent
44dafe885b
commit
01491abbfa
@ -50,8 +50,10 @@ if [ "$action" = "switch" -o "$action" = "boot" ]; then
|
|||||||
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
|
||||||
|
|
||||||
|
if [ -n "@initScriptBuilder@" ]; then
|
||||||
@initScriptBuilder@ @out@
|
@initScriptBuilder@ @out@
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# Activate the new configuration.
|
# Activate the new configuration.
|
||||||
if [ "$action" = "switch" -o "$action" = "test" ]; then
|
if [ "$action" = "switch" -o "$action" = "test" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user