Skip to content

Commit

Permalink
fix(update): support $persist_dir in uninstaller.script (ScoopInstall…
Browse files Browse the repository at this point in the history
  • Loading branch information
linsui authored and r15ch13 committed Oct 23, 2019
1 parent eb3d42d commit 6eb90c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libexec/scoop-update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ function update($app, $global, $quiet = $false, $independent, $suggested, $use_c
# endregion Workaround

$dir = versiondir $app $old_version $global
$persist_dir = persistdir $app $global

#region Workaround for #2952
$processdir = appdir $app $global | Resolve-Path | Select-Object -ExpandProperty Path
Expand Down

0 comments on commit 6eb90c9

Please sign in to comment.