This commit is contained in:
Михаил Капелько
2025-11-12 06:33:41 +03:00
parent 5c1892f0e4
commit dae7d431cf

View File

@@ -8,7 +8,7 @@ MAIN_BRANCH=main
REPO_DIR=/home/kornerr/repo-ru
REPO_URL=https://github.com/kornerr/ru
# Clone since the directory does not exist
# Clone if the directory does not exist
if [ ! -d "$REPO_DIR" ]; then
git clone $REPO_URL $REPO_DIR
fi
@@ -45,6 +45,7 @@ function replace {
cmd="sed -i 's|$was|$now|g' $file"
eval "$cmd"
}
# Rename references
replace $DST_DIR/bank.html "$kmpWas" "$kmpNow"
replace $DST_DIR/quiz.html "$kmpWas" "$kmpNow"