[Bug 727011] [NEW] apt-mirror ignores base-path setting in config file

Launchpad Bug Tracker 727011 at bugs.launchpad.net
Thu Mar 10 13:46:19 UTC 2011


You have been subscribed to a public bug by Sebastien Bacher (seb128):

Binary package hint: apt-mirror

Hello,

I've been trying to get apt-mirror to use a different directory than the default one.
I noticed that the base-path setting in the apt-mirror config file is ignored.

After looking at the perl script I saw that the check for the three working directories is done before the processing of the config file.
Thus the alternative path setting would not be applied until after the setting of the work directories.
After putting that piece of code behind the processing of the config file code the alternative path worked.

I've attached a patch file that fixes the problem.

Rob Verduijn

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: apt-mirror 0.4.8-3
ProcVersionSignature: Ubuntu 2.6.35-25.44-generic 2.6.35.10
Uname: Linux 2.6.35-25-generic i686
Architecture: i386
Date: Tue Mar  1 08:35:37 2011
PackageArchitecture: all
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: apt-mirror

** Affects: apt-mirror (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 maverick patch
-- 
apt-mirror ignores base-path setting in config file
https://bugs.launchpad.net/bugs/727011
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.



More information about the Ubuntu-sponsors mailing list