From 1794c202b933f0aff1008d65a3d60dd6f5cbccd1 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 8 Feb 2021 12:35:47 +0000 Subject: Fix the system-wide paths to not violate the Linux FHS. --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure') 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'; -- cgit v1.2.3