11 lines
471 B
Bash
Executable File
11 lines
471 B
Bash
Executable File
#!/usr/bin/bash
|
|
set -e
|
|
COURSE=$1
|
|
git -C /home/tt/.cache/$COURSE-config pull
|
|
rsync -r --delete /home/tt/.cache/$COURSE-config/home/tt/.config/ /home/tt/.config
|
|
joj3-forge convert /home/tt/.config/joj
|
|
rsync -r --delete /home/tt/.config/joj/ /home/tt/.cache/$COURSE-config/home/tt/.config/joj
|
|
git -C /home/tt/.cache/$COURSE-config add home/tt/.config/joj
|
|
git -C /home/tt/.cache/$COURSE-config commit -m "chore: joj3-forge convert"
|
|
git -C /home/tt/.cache/$COURSE-config push
|