*.pod 3 yerde olabilir

This commit is contained in:
S.Çağlar Onur
2006-06-28 13:52:49 +00:00
parent 78df7efdbb
commit 11827be26f
+7 -1
View File
@@ -74,7 +74,13 @@ def install(parameters = 'install'):
if system('perl Build install'): if system('perl Build install'):
raise MakeError, _('perl install failed.') raise MakeError, _('perl install failed.')
podFile = "%s/usr/lib/perl5/%s/i686-linux/perllocal.pod" % (get.installDIR(), get.curPERL()) fixLocalPod()
def fixLocalPod():
podFiles = [ "%s/usr/lib/perl5/vendor_perl/%s/i686-linux/perllocal.pod" % (get.installDIR(), get.curPERL()),
"%s/usr/lib/perl5/%s/i686-linux/perllocal.pod" % (get.installDIR(), get.curPERL()),
"%s/usr/lib/perl5/site_perl/%s/perllocal.pod" % (get.installDIR(), get.curPERL())]
for podFile in podFiles:
if can_access_file(podFile): if can_access_file(podFile):
unlink(podFile) unlink(podFile)