diff --git a/src/scripts/extensions/relay.sh b/src/scripts/extensions/relay.sh index ea6c2f0c..39b05c86 100644 --- a/src/scripts/extensions/relay.sh +++ b/src/scripts/extensions/relay.sh @@ -81,10 +81,10 @@ enable_relay() { if [ -e "$relay_ini" ]; then init_relay_ini "$relay_ini" if [ "$os" = "Linux" ]; then - sudo mv "$relay_ini" "${ini_dir:?}"/../mods-available/relay.ini + sudo cp "$relay_ini" "${ini_dir:?}"/../mods-available/relay.ini sudo phpenmod -v "${version:?}" relay else - sudo mv "${relay_ini}" "${scan_dir:?}"/60-relay.ini + sudo cp "${relay_ini}" "${scan_dir:?}"/60-relay.ini fi fi }