diff options
author | Peter Powell <petpow@saberuk.com> | 2017-09-24 10:35:38 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2017-09-24 10:36:20 +0100 |
commit | 8270aca2ee161ffa9a93243016266a2681b6d7ba (patch) | |
tree | 3a66f02d9e9873b81be1054cca867a205e309ffb /configure | |
parent | b8babf2c43edd0f1ee2997125c6ea4cd21e15d68 (diff) |
Allow the script directory to be set in interactive mode.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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. |