Skip to content

Commit

Permalink
Merge pull request #64 from ato/patch-1
Browse files Browse the repository at this point in the history
Write database details to correct file
  • Loading branch information
shawnmjones authored Jan 5, 2022
2 parents 290ef40 + 4d1a74e commit b965662
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hypercane-gui/set-hypercane-database.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ fi
settings_file=${WOOEY_DIR}/hypercane_with_wooey/settings/user_settings.py
hypercane_conf=/etc/hypercane.conf

echo "writing database information to ${settings_file}"
echo "writing database information to ${hypercane_conf}"

MDB_line=`grep HC_CACHE_STORAGE ${settings_file}`

cat >> ${raintale_conf} <<- EOF
cat >> ${hypercane_conf} <<- EOF
${MDB_line}
DATABASE_NAME="${DBNAME}"
DATABASE_PORT="${DBPORT}"
Expand Down

0 comments on commit b965662

Please sign in to comment.