diff options
use sha256 for avatars
-rwxr-xr-x | image/prepare-container.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/image/prepare-container.sh b/image/prepare-container.sh index c72df2e..b1459fd 100755 --- a/image/prepare-container.sh +++ b/image/prepare-container.sh @@ -16,6 +16,8 @@ chmod -w /etc/ssh/sshd_config echo -n "$HIGHLIGHT_THEME" > /.highlight-theme +[[ "$KEEP_MD5_AVATARS" == "true" ]] || sed -i s/md5/sha256/gu /usr/lib/cgit/filters/email-libravatar.lua + # prepare run dir if ! [[ -d "/var/run/sshd" ]]; then mkdir -p /var/run/sshd |