cleanup, this will work on all arches not just i686
This commit is contained in:
@@ -76,9 +76,7 @@ def install(parameters = 'install'):
|
|||||||
fixLocalPod()
|
fixLocalPod()
|
||||||
|
|
||||||
def fixLocalPod():
|
def fixLocalPod():
|
||||||
podFiles = [ "%s/usr/lib/perl5/vendor_perl/%s/i686-linux/perllocal.pod" % (get.installDIR(), get.curPERL()),
|
podFiles = glob.glob("%s/usr/lib/*/*/*/perllocal.pod" % get.installDIR())
|
||||||
"%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:
|
for podFile in podFiles:
|
||||||
if can_access_file(podFile):
|
if can_access_file(podFile):
|
||||||
|
|||||||
Reference in New Issue
Block a user