Created
February 15, 2024 15:22
-
-
Save TheDevMinerTV/1f30d7b670335e65e9eb609a880dfe9c to your computer and use it in GitHub Desktop.
unifi-8.0.28-custom-acme-server.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
220a221,222 | |
> --reinstall Re-run the install script instead of running the update script when a instance is already running. | |
> --force-acme Run UniFi Easy Encrypt under all circumstances. | |
290a293,296 | |
> --reinstall) | |
> script_option_reinstall="true";; | |
> --force-acme) | |
> script_option_force_acme="true";; | |
363a370,372 | |
> --custom-acme-server) | |
> echo "--custom-acme-server ${2}" &>> /tmp/EUS/le_script_options | |
> shift;; | |
1138c1147 | |
< if dpkg -l | grep "unifi " | grep -q "^ii\\|^hi"; then | |
--- | |
> if ! [[ "${script_option_reinstall}" == 'true' ]] && dpkg -l | grep "unifi " | grep -q "^ii\\|^hi"; then | |
3512c3521 | |
< if [[ "${public_reachable}" == 'true' ]] && [[ "${script_option_skip}" != 'true' || "${fqdn_specified}" == 'true' ]]; then | |
--- | |
> if [[ "${script_option_force_acme}" == 'true' ]] || ([[ "${public_reachable}" == 'true' ]] && [[ "${script_option_skip}" != 'true' || "${fqdn_specified}" == 'true' ]]); then |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment