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. --- draklive2 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'draklive2') diff --git a/draklive2 b/draklive2 index ebea408..55dd070 100755 --- a/draklive2 +++ b/draklive2 @@ -95,7 +95,7 @@ my @actions = ( my @all = qw(root boot loop master); my $build_object = 'MGA::DrakISO::LiveBuild'->new; -my $config_root = '/etc/draklive'; +my $config_root = '.'; my $config_path = 'config/build.cfg'; my $settings_path = 'config/settings.cfg'; @@ -164,8 +164,7 @@ draklive2 [options] --config-root root directory containing config and additional files - defaults to current directory if it contains a - configuration file, otherwise to "/etc/draklive" + defaults to current directory --config use this configuration file to control the build defaults to "config/build.cfg" -- cgit v1.2.1