Compare commits

...

2 Commits

Author SHA1 Message Date
43edfc273a
feat: rsync whole .config
Some checks failed
push / build (push) Has been cancelled
2025-06-01 10:01:11 -04:00
28be7edafd
feat: install rsync 2025-06-01 10:01:00 -04:00
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ ENV TZ="Asia/Shanghai"
RUN sed -i s@/deb.debian.org/@/mirrors.tuna.tsinghua.edu.cn/@g /etc/apt/sources.list.d/debian.sources && \ RUN sed -i s@/deb.debian.org/@/mirrors.tuna.tsinghua.edu.cn/@g /etc/apt/sources.list.d/debian.sources && \
apt-get update && \ apt-get update && \
apt-get install -y --no-install-recommends sudo python3-minimal python3-pip git git-lfs openssh-client && \ apt-get install -y --no-install-recommends sudo python3-minimal python3-pip git git-lfs openssh-client rsync && \
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
userdel -r node && \ userdel -r node && \

View File

@ -2,5 +2,5 @@
set -e set -e
COURSE=$1 COURSE=$1
git -C /home/tt/.cache/$COURSE-config pull git -C /home/tt/.cache/$COURSE-config pull
rsync -r /home/tt/.cache/$COURSE-config/home/tt/.config/joj /home/tt/.config/joj rsync -r /home/tt/.cache/$COURSE-config/home/tt/.config /home/tt/.config
joj3-forge convert /home/tt/.config/joj joj3-forge convert /home/tt/.config/joj