From f522484307bd0ba6de3f3a468dd68356ab7b1caf Mon Sep 17 00:00:00 2001 From: TimurNurlygayanov Date: Tue, 21 Jan 2014 12:41:30 +0400 Subject: [PATCH] Fixed issue with copy configuration files. Change-Id: Id3b4521fedb8daf4b96fe7ebc2864aa35ed3b2aa Closes-Bug: #1271079 --- setup.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/setup.sh b/setup.sh index 3e055be85..411bbb4f6 100644 --- a/setup.sh +++ b/setup.sh @@ -140,12 +140,11 @@ CLONE_FROM_GIT=$1 exit 1 fi chmod -R a+rw $LOG_DIR - fi -# making sample configs - log "Making sample configuration files at \"$ETC_CFG_DIR\"" + fi + log "Copy sample configuration files at \"$ETC_CFG_DIR\"" for file in $(ls $SERVICE_CONTENT_DIRECTORY/etc/murano) do - cp -f "$SERVICE_CONTENT_DIRECTORY/etc/murano/$file" "$ETC_CFG_DIR/$file.sample" + cp -f "$SERVICE_CONTENT_DIRECTORY/etc/murano/$file" "$ETC_CFG_DIR/$file" done log "Creating $DB_DIR" if [ ! -d "$DB_DIR" ]; then