From 5d0f7bdadd9f5b26230ee616a6ea1de417c2e6db Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 6 Feb 2007 13:12:10 +0000 Subject: [PATCH] * Better checking. svn path=/nixos/trunk/; revision=7854 --- installer/nixos-rebuild.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/installer/nixos-rebuild.sh b/installer/nixos-rebuild.sh index 12404f8d4af2..f63264cedae7 100644 --- a/installer/nixos-rebuild.sh +++ b/installer/nixos-rebuild.sh @@ -4,7 +4,7 @@ # What are we supposed to do? action="$1" -if test -z "$action"; then +showSyntax() { # !!! more or less cut&paste from # system/switch-to-configuration.sh (which we call, of course). cat <