diff options
author | 2025-01-05 15:34:32 +0100 | |
---|---|---|
committer | 2025-01-05 15:34:32 +0100 | |
commit | dd8bbeb39b3c408bc78d6ca3a91852f4ee40fc3d (patch) | |
tree | 703872fc6542ea8799750dbb6bb3d22cb464a06c /image | |
parent | 36ba24478a4493389cac1f5233b10eab909bceba (diff) | |
download | cgit-oci-dd8bbeb39b3c408bc78d6ca3a91852f4ee40fc3d.tar.gz cgit-oci-dd8bbeb39b3c408bc78d6ca3a91852f4ee40fc3d.tar.bz2 cgit-oci-dd8bbeb39b3c408bc78d6ca3a91852f4ee40fc3d.tar.lz cgit-oci-dd8bbeb39b3c408bc78d6ca3a91852f4ee40fc3d.zip |
use sha256 for avatars
Diffstat (limited to 'image')
-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 |