Bug 10101 - Follwup: fix param check
As Mason noted, there was an error on that line. Sponsored-by: Universidad Nacional de Córdoba Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Mason James <mtj@kohaaloha.com> Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
parent
3bca90eb0c
commit
7d09198659
1 changed files with 13 additions and 1 deletions
14
debian/scripts/koha-enable
vendored
14
debian/scripts/koha-enable
vendored
|
@ -72,8 +72,20 @@ enable_instance()
|
|||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
usage()
|
||||
{
|
||||
local scriptname=$0
|
||||
cat <<EOF
|
||||
Enables Koha instances.
|
||||
|
||||
Usage: $scriptname instancename1 instancename2...
|
||||
|
||||
EOF
|
||||
}
|
||||
|
||||
# Parse command line.
|
||||
[ "$#" > 1 ] || die "Usage: $0 instancename..."
|
||||
[ $# -ge 1 ] || ( usage ; die "Missing instance name..." )
|
||||
|
||||
restart_apache="no"
|
||||
|
||||
|
|
Loading…
Reference in a new issue