mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Allow the script directory to be set in interactive mode.
This commit is contained in:
parent
b8babf2c43
commit
8270aca2ee
2
configure
vendored
2
configure
vendored
@ -263,6 +263,7 @@ Currently, InspIRCd is configured with the following paths:
|
||||
<|BOLD Log:|> $config{LOG_DIR}
|
||||
<|BOLD Manual:|> $config{MANUAL_DIR}
|
||||
<|BOLD Module:|> $config{MODULE_DIR}
|
||||
<|BOLD Script:|> $config{SCRIPT_DIR}
|
||||
|
||||
Do you want to change these settings?
|
||||
EOQ
|
||||
@ -278,6 +279,7 @@ if (prompt_bool $interactive, $question, 0) {
|
||||
$config{LOG_DIR} = prompt_dir $interactive, 'In what directory are log files to be stored?', $config{LOG_DIR};
|
||||
$config{MANUAL_DIR} = prompt_dir $interactive, 'In what directory are manual pages to be placed?', $config{MANUAL_DIR};
|
||||
$config{MODULE_DIR} = prompt_dir $interactive, 'In what directory are modules to be placed?', $config{MODULE_DIR};
|
||||
$config{SCRIPT_DIR} = prompt_dir $interactive, 'In what directory are scripts to be placed?', $config{SCRIPT_DIR};
|
||||
}
|
||||
|
||||
# Configure module settings.
|
||||
|
Loading…
x
Reference in New Issue
Block a user