File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 3030*/share/splunk/pdf*
3131*mrsparkle*"""
3232
33- m = re .match (".*splunk-([0-9]+)\.([0-9]+)\.[0-9]+\.?[0-9]?-[0-9a-z]+-Linux-[0-9a-z_-]+.tgz" , sys .argv [1 ])
33+ major_version = re .match (".*splunk-([0-9]+)\.([0-9]+)\.[0-9]+\.?[0-9]?-[0-9a-z]+-Linux-[0-9a-z_-]+.tgz" , sys .argv [1 ])
3434
35- if m and m .group (1 ):
35+ if major_version and major_version .group (1 ):
3636 print (EXCLUDE_V7 )
37- if int (m .group (1 )) == 7 :
37+ if int (major_version .group (1 )) == 7 :
3838 print ("*/bin/parsetest*" )
39- if int (m .group (2 )) < 3 :
39+ if int (major_version .group (2 )) < 3 :
4040 print ("*/etc/apps/framework*" )
4141 print ("*/etc/apps/gettingstarted*" )
4242 else :
4343 print ("*/etc/apps/splunk_metrics_workspace*" )
44- elif 7 < int (m .group (1 )) < 9 :
44+ elif 7 < int (major_version .group (1 )) < 9 :
4545 print ("*/etc/apps/splunk_metrics_workspace*" )
46- if int (m .group (2 )) < 1 :
46+ if int (major_version .group (2 )) < 1 :
4747 print ("*/bin/parsetest*" )
You can’t perform that action at this time.
0 commit comments