gerd.forgejo: removed unneeded shebangs

This commit is contained in:
eyjhb 2024-08-14 21:29:04 +02:00
parent ee11537669
commit e1e8968133
No known key found for this signature in database
GPG key ID: 609F508E3239F920

View file

@ -4,7 +4,6 @@ let
AUTHELIA_AUTH_NAME = "authelia"; AUTHELIA_AUTH_NAME = "authelia";
scriptAddLDAPAuth = pkgs.writeShellScript "forgejo-add-update-ldap-auth.sh" '' scriptAddLDAPAuth = pkgs.writeShellScript "forgejo-add-update-ldap-auth.sh" ''
#!/usr/bin/env sh
FORGEJO_WORK_PATH="${config.services.forgejo.stateDir}" FORGEJO_WORK_PATH="${config.services.forgejo.stateDir}"
FORGEJO_AUTH_NAME="lldap" FORGEJO_AUTH_NAME="lldap"
@ -50,7 +49,6 @@ let
scriptAddOAuth = pkgs.writeShellScript "forgejo-add-update-oauth.sh" '' scriptAddOAuth = pkgs.writeShellScript "forgejo-add-update-oauth.sh" ''
#!/usr/bin/env sh
FORGEJO_WORK_PATH="${config.services.forgejo.stateDir}" FORGEJO_WORK_PATH="${config.services.forgejo.stateDir}"
FORGEJO_AUTH_NAME="${AUTHELIA_AUTH_NAME}" FORGEJO_AUTH_NAME="${AUTHELIA_AUTH_NAME}"