Skip to content

Commit 20ad69b

Browse files
authored
podman: Fix 'winsymlink' error (#6335)
1 parent 3b6d3d9 commit 20ad69b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

bucket/podman.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,16 @@
1313
"installer": {
1414
"script": [
1515
"Expand-DarkArchive \"$dir\\podman-$version-setup.exe\" \"$dir\\_tmp\" -Removal",
16-
"Expand-MsiArchive \"$dir\\_tmp\\AttachedContainer\\podman.msi\" \"$dir\" -ExtractDir 'PFiles64\\RedHat\\Podman'"
16+
"Expand-MsiArchive \"$dir\\_tmp\\AttachedContainer\\podman.msi\" \"$dir\" -ExtractDir 'PFiles64\\RedHat\\Podman'",
17+
"if (get_config USE_ISOLATED_PATH) {",
18+
" Add-Path -Path ('%' + $scoopPathEnvVar + '%') -Global:$global",
19+
"}",
20+
"Add-Path -Path $original_dir -TargetEnvVar $scoopPathEnvVar -Global:$global -Force"
1721
]
1822
},
23+
"uninstaller": {
24+
"script": "Remove-Path -Path $dir -TargetEnvVar $scoopPathEnvVar -Global:$global -Force"
25+
},
1926
"checkver": {
2027
"github": "https://github.com/containers/podman"
2128
},

0 commit comments

Comments
 (0)