mirror of
https://github.com/ScoopInstaller/Scoop.git
synced 2026-08-25 15:46:47 +00:00
Remove unused function
This commit is contained in:
@@ -273,20 +273,6 @@ function is_installed($app) {
|
||||
return ($status -ne 'nonexistent')
|
||||
}
|
||||
|
||||
function get_app_services($app) {
|
||||
$version = current_version $app $global
|
||||
$manifest = installed_manifest $app $version $global
|
||||
$install = install_info $app $version $global
|
||||
|
||||
$bucket = bucketdir $install.bucket
|
||||
|
||||
if([string]::isnullorempty($manifest.services)) {
|
||||
throw "Could not find services in manifest for '$app'."
|
||||
}
|
||||
|
||||
return $manifest.services, $bucket
|
||||
}
|
||||
|
||||
if(!(installed 'sudo') -or !(installed 'winsw')) {
|
||||
warn "Scoop services requires sudo and WinSW to be installed!";
|
||||
"Usage: scoop install sudo winsw"; exit 1
|
||||
|
||||
Reference in New Issue
Block a user