Skip to content

Commit

Permalink
Fix confi file paths. Move files instead of folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Rezart Qelibari committed Jan 27, 2019
1 parent 3521d44 commit b37d019
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/98-install-services.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ install_wildduck () {
npm install --unsafe-perm --production;

mkdir -p "${WILDDUCK_CONFIG_DIR}";
mv "${WILDDUCK_INSTALL_DIR}/config" "${WILDDUCK_CONFIG_DIR}";
mv "${WILDDUCK_INSTALL_DIR}/config"/* "${WILDDUCK_CONFIG_DIR}";
return 0;
}

Expand All @@ -45,7 +45,7 @@ install_haraka () {
npm install --unsafe-perm --production;

mkdir -p "${HARAKA_CONFIG_DIR}";
mv "${HARAKA_INSTALL_DIR}/config" "${HARAKA_CONFIG_DIR}";
mv "${HARAKA_INSTALL_DIR}/config"/* "${HARAKA_CONFIG_DIR}";
rm -r "${HARAKA_INSTALL_DIR}/config";
ln -s "${HARAKA_CONFIG_DIR}" "${HARAKA_INSTALL_DIR}/config";
return 0;
Expand All @@ -72,7 +72,7 @@ install_zonemta () {
rm -r "${ZONEMTA_INSTALL_DIR}"/config/plugins/example-*;

mkdir -p "${ZONEMTA_CONFIG_DIR}";
mv "${ZONEMTA_INSTALL_DIR}/config" "${ZONEMTA_CONFIG_DIR}";
mv "${ZONEMTA_INSTALL_DIR}/config"/* "${ZONEMTA_CONFIG_DIR}";
rm -fr "${ZONEMTA_CONFIG_DIR}/plugins/dkim.toml";
return 0;
}
Expand Down

0 comments on commit b37d019

Please sign in to comment.