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

Warn at startup if the provided SCRIPT_TYPE is not on the PATH #18467

Merged

Commits on Jan 30, 2022

  1. Warn at startup if the provided SCRIPT_TYPE is not on the PATH

    Several users run Gitea in situations whereby `bash` is not available.
    If the `SCRIPT_TYPE` is not changed this will cause hooks to fail.
    A simple test to check if the provided type is on the PATH should be
    sufficient to warn them about this problem.
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    4217764 View commit details
    Browse the repository at this point in the history