find-firmware: check for 5.0 versioned directory
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
		
							parent
							
								
									1e51973430
								
							
						
					
					
						commit
						d7b1c00b9d
					
				
							
								
								
									
										2
									
								
								debian/scripts/find-firmware.pl
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								debian/scripts/find-firmware.pl
									
									
									
									
										vendored
									
									
								
							@ -8,7 +8,7 @@ die "no directory to scan" if !$dir;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
die "no such directory" if ! -d $dir;
 | 
					die "no such directory" if ! -d $dir;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
die "strange directory name" if $dir !~ m|^(.*/)?(4.15.\d+\-\d+\-pve)(/+)?$|;
 | 
					die "strange directory name" if $dir !~ m|^(.*/)?(5.0.\d+\-\d+\-pve)(/+)?$|;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
my $apiver = $2;
 | 
					my $apiver = $2;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user