From 6d7e95f2c4f50dd125ac3085abac5cf5ad4a105d Mon Sep 17 00:00:00 2001 From: ggodot Date: Thu, 29 Jan 2026 20:02:50 +0100 Subject: [PATCH] mv vs cp --- mc-install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mc-install.sh b/mc-install.sh index d6b2393..7debc71 100755 --- a/mc-install.sh +++ b/mc-install.sh @@ -124,7 +124,7 @@ fi ### Other configuraton ### echo eula=true > eula.txt -mv $home/data/server-icon.png $home/data/server.properties /opt/minecraft/ +cp $home/data/server-icon.png $home/data/server.properties /opt/minecraft/ ### Mods handling ### @@ -167,7 +167,7 @@ fi if [[ "$ansPlayerSync" =~ ["y"|"Y"] || -z $ansPlayerSync ]]; then wget https://cdn.modrinth.com/data/4pmkajBP/versions/mK3hQ8Vs/playersync-1.21.1-2.1.5.jar mv playersync*.jar /opt/minecraft/mods - mv $home/data/playersync-common.toml /opt/minecraft/config/ + cp $home/data/playersync-common.toml /opt/minecraft/config/ rndr=$((RANDOM % (32765-10000+1)+10000)) sed -i "s/1234567890/$rndr$rndr/g" config/playersync-common.toml #gens uniqe id @@ -189,7 +189,7 @@ chown -R minecraft:minecraft /opt/minecraft ### SystemD service ### printf "+ Preparign systemD service\n" -mv $home/data/mc-forge.service /etc/systemd/system/ +cp $home/data/mc-forge.service /etc/systemd/system/ systemctl daemon-reload