From 7cf01146c8f52d3025db18d93a3ff64b9b54e971 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sun, 1 Apr 2018 19:49:13 +0100 Subject: Revised config and settings path handling. Don't default to system dirs - we expect to run as normal user now. --- drakclassic | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'drakclassic') diff --git a/drakclassic b/drakclassic index d5c6ca0..a7d7fad 100755 --- a/drakclassic +++ b/drakclassic @@ -76,7 +76,7 @@ my @actions = ( my @all = qw(media boot master); my $build_object = 'MGA::DrakISO::ClassicBuild'->new; -my $config_root = '/etc/drakclassic'; +my $config_root = '.'; my $config_path = 'config/build.cfg'; my $settings_path = 'config/settings.cfg'; @@ -132,8 +132,7 @@ drakclassic [options] --config-root root directory containing config and additional files - defaults to current directory if it contains a - configuration file, otherwise to "/etc/drakclassic" + defaults to current directory --config use this configuration file to control the build defaults to "config/build.cfg" -- cgit v1.2.1