mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 11:51:07 +07:00
Fix relay cache setup
This commit is contained in:
parent
0f765070fa
commit
d30ad8b184
@ -81,10 +81,10 @@ enable_relay() {
|
|||||||
if [ -e "$relay_ini" ]; then
|
if [ -e "$relay_ini" ]; then
|
||||||
init_relay_ini "$relay_ini"
|
init_relay_ini "$relay_ini"
|
||||||
if [ "$os" = "Linux" ]; then
|
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
|
sudo phpenmod -v "${version:?}" relay
|
||||||
else
|
else
|
||||||
sudo mv "${relay_ini}" "${scan_dir:?}"/60-relay.ini
|
sudo cp "${relay_ini}" "${scan_dir:?}"/60-relay.ini
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user