#!/bin/bash

perl -pi -e 's/secretdspaceuser/yourdspaceusername/; s/secretdspacepassword/yourdspacepassword/;' Dockerfile
perl -pi -e 's/secretdspaceuser/yourdspaceusername/; s/secretdspacepassword/yourdspacepassword/;' Dockerfile.dspace
perl -pi -e 's/secretdspaceuser/yourdspaceusername/; s/secretdspacepassword/yourdspacepassword/; s/secretdspacedbname/yourdspacedbname/; s/secretdspaceutilsdbname/yourdspaceutilsdbname/;' init-dspace-dbs.sh
perl -pi -e 's/secretdspaceuser/yourdspaceusername/; s/secretdspacepassword/yourdspacepassword/; s/secretmailuser/yourmailuser/; s/secretmailpassword/yourmailpassword/;' commul-customization/local.properties