dhis2-tools-ng
dhis2-tools-ng copied to clipboard
Wrong path to interpreter on ssl_setup.sh
When you run sudo ./ssh_setup.sh
, it throws an error saying sudo: unable to execute ./ssl_setup.sh: No such file or directory, see the screenshot below;
I found out that this is because ssl_setup.sh is using the wrong path to
env
. On Linux systems, the env binary is normally in /usr/bin and not /bin. Changing line 1 from #!/bin/env bash
to #!/usr/bin/env bash
resolves the issue.
or, you can just run sudo bash ./ssl_setup.sh