13 lines
410 B
Bash
Executable file
13 lines
410 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
ROOT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
SRC_DIR="$ROOT_DIR/theme"
|
|
TARGET_DIR="$ROOT_DIR/data/custom"
|
|
|
|
mkdir -p "$TARGET_DIR/public/assets/css" "$TARGET_DIR/templates/custom"
|
|
|
|
cp "$SRC_DIR/ccds-wiki.css" "$TARGET_DIR/public/assets/css/ccds-wiki.css"
|
|
cp "$SRC_DIR/header.tmpl" "$TARGET_DIR/templates/custom/header.tmpl"
|
|
|
|
echo "Forgejo wiki theme synced into $TARGET_DIR"
|