summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-02-08 12:35:47 +0000
committerSadie Powell <sadie@witchery.services>2021-02-08 13:03:56 +0000
commit1794c202b933f0aff1008d65a3d60dd6f5cbccd1 (patch)
tree111d472bc8e037fdb744c738940ba5263c43f8b9
parenteab699222082b9af003ac7eedc5ff688cc4c357f (diff)
Fix the system-wide paths to not violate the Linux FHS.
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 65dce82a3..346365a2a 100755
--- a/configure
+++ b/configure
@@ -205,10 +205,10 @@ if (defined $opt_portable) {
$config{RUNTIME_DIR} = $opt_runtime_dir // $config{DATA_DIR};
$config{SCRIPT_DIR} = $opt_script_dir // $config{BASE_DIR};
} elsif (defined $opt_system) {
- $config{BASE_DIR} = $opt_prefix // '/var/lib/inspircd';
+ $config{BASE_DIR} = $opt_prefix // '/';
$config{BINARY_DIR} = $opt_binary_dir // '/usr/sbin';
$config{CONFIG_DIR} = $opt_config_dir // '/etc/inspircd';
- $config{DATA_DIR} = $opt_data_dir // '/var/inspircd';
+ $config{DATA_DIR} = $opt_data_dir // '/var/lib/inspircd';
$config{EXAMPLE_DIR} = $opt_example_dir // '/usr/share/doc/inspircd';
$config{LOG_DIR} = $opt_log_dir // '/var/log/inspircd';
$config{MANUAL_DIR} = $opt_manual_dir // '/usr/share/man/man1';