generated from osc/skins-template
Some checks failed
Generate Skin previews, OSK files and per skin documentation / Full CI/CD Pipeline (push) Failing after 1m21s
12 lines
366 B
Bash
Executable File
12 lines
366 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
SOURCE="/home/schoki/Documents/osu!/playing/Skins/"
|
|
TARGET="/home/schoki/Documents/osu!/Skins/Skins/"
|
|
|
|
# Sync skins from osu! to your repo
|
|
rsync -av --delete "$SOURCE" "$TARGET"
|
|
|
|
# Normalize file permissions (Linux CI needs this)
|
|
find "$TARGET" -type f ! -perm 644 -exec chmod 644 {} +
|
|
find "$TARGET" -type d ! -perm 755 -exec chmod 755 {} +
|