View | Details | Raw Unified | Return to bug 14533
Collapse All | Expand All

(-)a/debian/scripts/koha-create (-1 / +13 lines)
Lines 556-561 name="$1" Link Here
556
556
557
set_upload_path $name
557
set_upload_path $name
558
558
559
if [ "$op" = use ] && [ "$CLO_DATABASE" = "" ] &&
560
   ( [ ! -f "$PASSWDFILE" ] || [ ! `cat $PASSWDFILE | grep "^$name:"` ] )
561
then
562
    cat <<NO_DB
563
--use-db must have a database host name. It can be specified in a readable
564
password file ($PASSWDFILE). Using --passwdfile overrides the default
565
/usr/koha/passwd file. Each line of a passwd file should be in the format of:
566
    instance:username:password:dbhost
567
A database name can also be specified using '--database dbname'.
568
NO_DB
569
    die;
570
fi
571
559
if [ "$USE_MEMCACHED" = "yes" ]; then
572
if [ "$USE_MEMCACHED" = "yes" ]; then
560
    set_memcached $name
573
    set_memcached $name
561
elif [ "$CLO_MEMCACHED_SERVERS" != "" ] || \
574
elif [ "$CLO_MEMCACHED_SERVERS" != "" ] || \
562
- 

Return to bug 14533