Initial curated DockDeck source from 26772208f608782e88c736dc70878e7b5abd3916

This commit is contained in:
Public Source Publisher committed 2026-10-01 01:44:08 +02:00
commit 3c61fba98f
146 files changed
+45229

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#!/bin/sh
set -eu
icon_source="${UNRAID_ICONS_SOURCE_PATH:-/unraid-icons-source}"
icon_cache="${UNRAID_ICONS_PATH:-/unraid-icons-cache}"
if [ -d "$icon_source" ] && [ -d "$icon_cache" ]; then
find "$icon_source" -maxdepth 1 -type f \( \
-iname '*.gif' -o -iname '*.ico' -o -iname '*.jpeg' -o \
-iname '*.jpg' -o -iname '*.png' -o -iname '*.svg' -o \
-iname '*.webp' \
\) -exec cp -f '{}' "$icon_cache/" \;
find "$icon_cache" -maxdepth 1 -type f -exec chmod 0644 '{}' \;
chown -R dockdeck:dockdeck "$icon_cache"
fi
exec su-exec dockdeck "$@"