Stack docker-compose Roundcube 1.7.4 (nginx, php-fpm, MariaDB) avec skin vBlog.io
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Sa4nUG3GtbdEaPS6fA8eq1
This commit is contained in:
21 files changed
+669
No files matched your search
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
# Importe une customisation Elastic (format roundcube-custom/vblog) dans theme/ et config/
|
||||
# Usage : scripts/sync-theme.sh [dossier_source] (défaut : ../roundcube-custom/vblog)
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
SRC=${1:-../roundcube-custom/vblog}
|
||||
[ -d "$SRC" ] || { echo "Source introuvable : $SRC" >&2; exit 1; }
|
||||
|
||||
rm -rf theme && mkdir -p theme
|
||||
for f in _variables.less _styles.less; do
|
||||
if [ -f "$SRC/$f" ]; then cp "$SRC/$f" theme/; fi
|
||||
done
|
||||
for d in fonts images; do
|
||||
if [ -d "$SRC/$d" ]; then cp -r "$SRC/$d" theme/; fi
|
||||
done
|
||||
if [ -f "$SRC/config-vblog.inc.php" ]; then
|
||||
cp "$SRC/config-vblog.inc.php" config/20-vblog.inc.php
|
||||
fi
|
||||
echo "Thème importé depuis $SRC. Appliquer : docker compose up -d --build"
|
||||
Reference in new issue
Block a user