mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-27 17:38:11 +03:00
21 lines
585 B
Bash
Executable File
21 lines
585 B
Bash
Executable File
#! /bin/bash
|
|
|
|
set -eo pipefail
|
|
|
|
echo "Moving example config files into usable places."
|
|
|
|
# https://stackoverflow.com/questions/59895/how-can-i-get-the-directory-where-a-bash-script-is-located-from-within-the-scrip
|
|
# if you actually think bash is a good programming language you are
|
|
# *straight up delusional*
|
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
|
|
cd "$SCRIPT_DIR";
|
|
cd ..;
|
|
|
|
cp client/.example.env client/.env
|
|
cp server/test.conf.json5 server/conf.json5
|
|
|
|
cp bot/example/conf.json5 bot/conf.json5
|
|
cp bot/example/example.env bot/.env
|
|
|
|
echo "Done." |