generated from osc/skins-template
Adding skin for good
Some checks failed
Generate Skin previews, OSK files and per skin documentation / Full CI/CD Pipeline (push) Failing after 1m21s
Some checks failed
Generate Skin previews, OSK files and per skin documentation / Full CI/CD Pipeline (push) Failing after 1m21s
This commit is contained in:
13
rsync.sh
Normal file → Executable file
13
rsync.sh
Normal file → Executable file
@@ -1,6 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
rsync -av --delete /mnt/e/osu\!/Skins/ /home/nixos/git/skins/Skins/
|
||||
SOURCE="/home/schoki/Documents/osu!/playing/Skins/"
|
||||
TARGET="/home/schoki/Documents/osu!/Skins/Skins/"
|
||||
|
||||
find ./Skins/ -type f ! -perm 644 -exec chmod 644 {} +
|
||||
find ./Skins/ -type d ! -perm 755 -exec chmod 755 {} +
|
||||
# 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 {} +
|
||||
|
||||
Reference in New Issue
Block a user