From 8ffaa7b8a32b9ee2d9d430c097322708f090f8f7 Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Tue, 8 May 2018 16:14:48 +0000 Subject: [PATCH] Bug 20428: Added missing parameter --upload-tmp-path Line 463 lists valid parameters, but it was missing upload-tmp-path: which resulted in the koha-create saying it is an invalid parameter. TEST PLAN --------- 1) apply all patches but this. 2) sudo perl ~/misc4dev/cp_debian_files.pl 3) restart_all 4) sudo koha-create --create-db --upload-tmp-path unique-path awesome-test-name -- Fails to run. 5) apply this patch 6) repeat 2-4 7) sudo vi /etc/koha/sites/awesome-test-name/koha-conf.xml -- the upload_tmp_path entry should have unique-path in it. Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- debian/scripts/koha-create | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create index 88232eb353..c340c645fd 100755 --- a/debian/scripts/koha-create +++ b/debian/scripts/koha-create @@ -464,7 +464,7 @@ fi [ $# -ge 1 ] && [ $# -le 16 ] || ( usage ; die "Error: wrong parameters" ) -TEMP=`getopt -o chrpm:l:d:f:b:a: -l create-db,request-db,populate-db,use-db,enable-sru,sru-port:,help,marcflavor:,auth-idx:,biblio-idx:,zebralang:,defaultsql:,configfile:,passwdfile:,dbhost:,database:,adminuser:,memcached-servers:,memcached-prefix:,template-cache-dir:,timezone:,upload-path:,letsencrypt, \ +TEMP=`getopt -o chrpm:l:d:f:b:a: -l create-db,request-db,populate-db,use-db,enable-sru,sru-port:,help,marcflavor:,auth-idx:,biblio-idx:,zebralang:,defaultsql:,configfile:,passwdfile:,dbhost:,database:,adminuser:,memcached-servers:,memcached-prefix:,template-cache-dir:,timezone:,upload-path:,upload-tmp-path:,letsencrypt, \ -n "$0" -- "$@"` # Note the quotes around `$TEMP': they are essential! -- 2.39.5