Skip to content

Commit

Permalink
Fix relay cache setup
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Jan 27, 2023
1 parent 0f76507 commit d30ad8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/extensions/relay.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit d30ad8b

Please # to comment.