FreeBSD Bugzilla – Attachment 250900 Details for
Bug 279251
games/minetest: Fix rc(8) script when using minetest_flags
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
minetest.in.patch
minetest.patch (text/plain), 1.71 KB, created by
Jesús Daniel Colmenares Oviedo
on 2024-05-23 13:34:22 UTC
(
hide
)
Description:
minetest.in.patch
Filename:
MIME Type:
Creator:
Jesús Daniel Colmenares Oviedo
Created:
2024-05-23 13:34:22 UTC
Size:
1.71 KB
patch
obsolete
>diff --git a/games/minetest/files/minetest.in b/games/minetest/files/minetest.in >index 2f1cf002309b..735f908997e7 100644 >--- a/games/minetest/files/minetest.in >+++ b/games/minetest/files/minetest.in >@@ -8,7 +8,7 @@ > # > # minetest_enable (bool): Set to "NO" by default > # Set it to "YES" to enable minetest server >-# minetest_conffile (str): Path to config file (required). >+# minetest_config (str): Path to config file (required). > # (default: /usr/local/etc/minetest.conf) > # minetest_rundir (str): Path to directory holding a pidfile. > # (default: /var/run/minetest) >@@ -20,6 +20,9 @@ > # (default: /var/log/minetest) > # minetest_dbdir (str): Path to world database directory > # (default: /var/db/minetest) >+# minetest_args (str): Arguments >+# (default: --logfile ${minetest_logdir}/debug.log --world ${minetest_dbdir}/world ${minetest_cli_args}) >+# minetest_cli_args (str) Additional arguments > > . /etc/rc.subr > >@@ -35,14 +38,14 @@ load_rc_config ${name} > : ${minetest_group="minetest"} > : ${minetest_logdir="/var/log/minetest"} > : ${minetest_dbdir="/var/db/minetest"} >-: ${minetest_args:="--logfile ${minetest_logdir}/debug.log --world ${minetest_dbdir}/world ${minetest_flags}"} >+: ${minetest_args:="--logfile ${minetest_logdir}/debug.log --world ${minetest_dbdir}/world ${minetest_cli_args}"} > > pidfile= > > case "${minetest_args}" in > *--config\ *) > echo "Warning \$minetest_args includes --config option." \ >- "Please use \$minetest_conffile instead." >+ "Please use \$minetest_config instead." > ;; > *) > minetest_args="--config ${minetest_config} ${minetest_args}"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 279251
: 250900