Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: make "./build.sh install" reusable #686

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

oidq
Copy link

@oidq oidq commented Mar 13, 2024

  • prevent the script from blindly overwriting the current configuration
  • force maddyctl symbolic linking
  • fix indentation in build.sh

Few days ago I learned the hard way, that running ./build.sh install on existing installation of maddy blindly overwrites the configuration. This commit alters the bahevior of build.sh to not blindly copy over existing maddy.conf and force the creation of the maddyctl symlink so that the script can be used to update current installation.

* prevent the script form blindly overwriting the current configuration
* force maddyctl linking so that we can reuse the script
* fix indentation in build.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant