mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-03 23:31:20 +00:00 
			
		
		
		
	qrencode: Fix installation for PowerShell 5 (#4285)
This commit is contained in:
		
							parent
							
								
									0ea2198181
								
							
						
					
					
						commit
						3dba39f770
					
				@ -43,11 +43,11 @@
 | 
			
		||||
        "                \"$dir\\share\\licenses\\qrencode\\COPYING\",",
 | 
			
		||||
        "                \"$dir\\share\\man\\man1\\qrencode.1.gz\")",
 | 
			
		||||
        "",
 | 
			
		||||
        "Get-ChildItem \"$dir\" -Recurse",
 | 
			
		||||
        "    | Select-Object -ExpandProperty FullName",
 | 
			
		||||
        "    | Where-Object {$keep_files -notcontains $_ }",
 | 
			
		||||
        "    | Sort-Object Length -Descending",
 | 
			
		||||
        "    | ForEach-Object { if ((Test-Path $_ -Type Container) -and (Get-ChildItem $_)) { return } Remove-Item $_ }"
 | 
			
		||||
        "Get-ChildItem \"$dir\" -Recurse                 |",
 | 
			
		||||
        "    Select-Object -ExpandProperty FullName      |",
 | 
			
		||||
        "    Where-Object {$keep_files -notcontains $_ } |",
 | 
			
		||||
        "    Sort-Object Length -Descending              |",
 | 
			
		||||
        "    ForEach-Object { if ((Test-Path $_ -Type Container) -and (Get-ChildItem $_)) { return } Remove-Item $_ }"
 | 
			
		||||
    ],
 | 
			
		||||
    "bin": "bin\\qrencode.exe",
 | 
			
		||||
    "checkver": {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user