Fix the ckan_connector_fixer. It is not interactive anymore.

This commit is contained in:
Andrea Dell'Amico 2018-08-02 16:05:09 +02:00
parent 26f12b74ee
commit 186fe446cc
1 changed files with 2 additions and 9 deletions

View File

@ -46,15 +46,8 @@ cd /usr/lib/ckan/default/src/ckan
if [ "$CKAN_CREATE_USER" == "True" ] ; then
# Create the admin user
paster sysadmin add $CK_ADMIN -c $CK_INI << EOF
y
$CK_ADMIN_PWD
$CK_ADMIN_PWD
EOF
paster user -c $CK_INI add $CK_ADMIN password=$CK_ADMIN_PWD email=ckan_admin@d4science.org
paster -c $CK_INI sysadmin add $CK_ADMIN
fi
# Get the admin key