From d30ad8b1843ace22e6698ab99bbafaa747b6bd0d Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Fri, 27 Jan 2023 08:38:32 +0530 Subject: [PATCH] Fix relay cache setup --- src/scripts/extensions/relay.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }