Skip to content

Commit

Permalink
MP:
Browse files Browse the repository at this point in the history
  • Loading branch information
clecap committed Feb 26, 2024
1 parent 431ed28 commit 61b3832
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions volumes/full/spec/script-library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -468,8 +468,10 @@ function removeLocalSettings () { # removes the LocalSettings.php file, reasona

function fixPermissionsProduction() {
local TARGET="wiki-dir"
printf "\n *** Fixing local permissions for production\n"
[ -f ${TOP_DIR}/CONF.sh ] && printf "CONF.sh exists\n"
printf "\n *** Fixing local permissions for production\n"

# TODO: fix this function
# [ -f ${TOP_DIR}/CONF.sh ] && printf "CONF.sh exists\n"

# [ -f ${TOP_DIR}/CONF.sh ] && chmod -f 700 ${TOP_DIR}/CONF.sh
# [ -d ${TOP_DIR}/../DANTE-BACKUP ] && chmod -f 700 ${TOP_DIR}/../DANTE-BACKUP
Expand Down Expand Up @@ -624,7 +626,8 @@ function cleanUpDocker () { # cleaning up ressources to have a good fresh start;

function runDB() {

source CONF.sh
# TODO: reprecate this code
# source CONF.sh
# provides MYSQL_ROOT_PASSWORD
# provides MYSQL_DUMP_USER
# provides MYSQL_DUMP_PASSWORD
Expand Down

0 comments on commit 61b3832

Please sign in to comment.