Public bug reported:

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727011

Title:
  apt-mirror ignores base-path setting in config file

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to