Skip to content

Commit

Permalink
scoop uninstall scoop removes the scoop shim
Browse files Browse the repository at this point in the history
  • Loading branch information
lukesampson committed Jul 3, 2013
1 parent 6ad957c commit 5ea0568
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/uninstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
. (relpath ..\lib\versions.ps1)
. (relpath ..\lib\manifest.ps1)

warn 'this will uninstall scoop and all the programs that have been installed with scoop!'
$yn = read-host 'are you sure? (yN)'
if($yn -notlike 'y*') { exit }

# run uninstallers if necessary
installed_apps | % {
$app = $_
Expand Down
5 changes: 5 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"_comment": "this is used for `scoop uninstall scoop`. it mimics
the format of manifests in the bucket",
"bin": "bin\\scoop.ps1"
}

0 comments on commit 5ea0568

Please sign in to comment.