summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-04-03 16:58:59 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-04-03 16:58:59 +0200
commitf65ae824e515ea9041f9feb3d0a0ee621bed50ec (patch)
tree03eb26f015636150d9d401674664e442e67e8593 /games-server/bedrock-server
parentmail-client/claws-mail: Synced live ebuild (diff)
downloadgentoo-f65ae824e515ea9041f9feb3d0a0ee621bed50ec.tar.gz
gentoo-f65ae824e515ea9041f9feb3d0a0ee621bed50ec.tar.bz2
gentoo-f65ae824e515ea9041f9feb3d0a0ee621bed50ec.zip
games-server/bedrock-server: fix json install
The file 'whitelist.json' has been renamed to 'allowlist.json'. Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'games-server/bedrock-server')
-rw-r--r--games-server/bedrock-server/bedrock-server-1.18.12.01-r1.ebuild (renamed from games-server/bedrock-server/bedrock-server-1.18.12.01.ebuild)2
-rw-r--r--games-server/bedrock-server/files/bedrock-server.initd-r3 (renamed from games-server/bedrock-server/files/bedrock-server.initd-r2)2
2 files changed, 2 insertions, 2 deletions
diff --git a/games-server/bedrock-server/bedrock-server-1.18.12.01.ebuild b/games-server/bedrock-server/bedrock-server-1.18.12.01-r1.ebuild
index dba2b5b775bb..13bf440c68d3 100644
--- a/games-server/bedrock-server/bedrock-server-1.18.12.01.ebuild
+++ b/games-server/bedrock-server/bedrock-server-1.18.12.01-r1.ebuild
@@ -46,7 +46,7 @@ src_install() {
dodir /opt/bin
dosym ../bedrock-server/bedrock_server /opt/bin/bedrock-server
- newinitd "${FILESDIR}"/bedrock-server.initd-r2 bedrock-server
+ newinitd "${FILESDIR}"/bedrock-server.initd-r3 bedrock-server
newconfd "${FILESDIR}"/bedrock-server.confd bedrock-server
einstalldocs
diff --git a/games-server/bedrock-server/files/bedrock-server.initd-r2 b/games-server/bedrock-server/files/bedrock-server.initd-r3
index 1ff60aa7816f..6c2e7cb5e9f9 100644
--- a/games-server/bedrock-server/files/bedrock-server.initd-r2
+++ b/games-server/bedrock-server/files/bedrock-server.initd-r3
@@ -33,7 +33,7 @@ depend() {
start_pre() {
checkpath -d -o "${command_user}:${command_group}" -q "${bedrock_path}" "${bedrock_path_instance}"
- local bedrock_configs=( "permissions.json" "server.properties" "whitelist.json" )
+ local bedrock_configs=( "allowlist.json" "permissions.json" "server.properties" )
for bedrock_config in ${bedrock_configs[@]}; do
if [ ! -f "${bedrock_path_instance}/${bedrock_config}" ]; then
cp "${bedrock_path_data}/${bedrock_config}" "${bedrock_path_instance}"