diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-04-01 19:49:13 +0100 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-04-01 19:49:13 +0100 |
commit | 7cf01146c8f52d3025db18d93a3ff64b9b54e971 (patch) | |
tree | c35da9421fea0094b1ea3564a4074be571a11535 /drakclassic | |
parent | c6dd77e2cc4c79b33579a062afe19c3d50bc536a (diff) | |
download | drakiso-7cf01146c8f52d3025db18d93a3ff64b9b54e971.tar drakiso-7cf01146c8f52d3025db18d93a3ff64b9b54e971.tar.gz drakiso-7cf01146c8f52d3025db18d93a3ff64b9b54e971.tar.bz2 drakiso-7cf01146c8f52d3025db18d93a3ff64b9b54e971.tar.xz drakiso-7cf01146c8f52d3025db18d93a3ff64b9b54e971.zip |
Revised config and settings path handling.
Don't default to system dirs - we expect to run as normal user now.
Diffstat (limited to 'drakclassic')
-rwxr-xr-x | drakclassic | 5 |
1 files changed, 2 insertions, 3 deletions
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 <dir> 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 <file> use this configuration file to control the build defaults to "config/build.cfg" |