From aded9c7251801033ffefb675745c6d0a9ec6dc93 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Mon, 3 Jan 2011 20:27:49 +0000 Subject: [PATCH] FIXME: hard-code /etc/BackupPC as config dir! --- lib/BackupPC/Lib.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/BackupPC/Lib.pm b/lib/BackupPC/Lib.pm index 83e29c5..6e1fe8f 100644 --- a/lib/BackupPC/Lib.pm +++ b/lib/BackupPC/Lib.pm @@ -96,7 +96,7 @@ sub new # Whether to use filesystem hierarchy standard for file layout. # If set, text config files are below /etc/BackupPC. # - my $useFHS = 0; + my $useFHS = 1; my $paths; # @@ -105,6 +105,8 @@ sub new $topDir = '/data/BackupPC' if ( $topDir eq "" ); $installDir = '/usr/local/BackupPC' if ( $installDir eq "" ); + $confDir = '/etc/BackupPC'; # FIXME remove this! XXX + # # Pick some initial defaults. For FHS the only critical # path is the ConfDir, since we get everything else out -- 2.20.1