Hey guys,

noticed a change to Lib.pm from v3.x in v4.x that is causing headaches.  
ConfDir values appear to be swapped...

In Lib.pm:
if ( $useFHS ) {
         $paths = {
             useFHS     => $useFHS,
             TopDir     => $topDir,
             InstallDir => $installDir,
             ConfDir    => $confDir eq "" ? '/etc/backuppc' : $confDir,
             LogDir     => '/var/log/BackupPC',
             RunDir     => '/var/run/BackupPC',
         };
     } else {
         $paths = {
             useFHS     => $useFHS,
             TopDir     => $topDir,
             InstallDir => $installDir,
             ConfDir    => $confDir eq "" ? "$topDir/conf" : $confDir,
             LogDir     => "$topDir/log",
             RunDir     => "$topDir/log",
         };

Upgrades will not work with this current configuration.  ConfDir values 
for non FHS ConfDir should be set to '/etc/backuppc' for the upgrade to 
work.  New installs do not work either as the default setup sets $useFHS 
= 0 and places the config.pl in '/etc/backuppc'. This is from the latest 
4.x git repo using makeDist.

A big Thank You to you all for such a great product!

Cheers,

mph

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to