mirror of
https://github.com/ScoopInstaller/Scoop.git
synced 2026-07-08 16:31:03 +00:00
fix check for 7zip required when app uses arch-specific URLs
This commit is contained in:
@@ -49,7 +49,7 @@ function install($app, $architecture, $global) {
|
||||
|
||||
# check 7zip installed if required
|
||||
if(!(7zip_installed)) {
|
||||
foreach($dlurl in @($manifest.url)) {
|
||||
foreach($dlurl in @(url $manifest $architecture)) {
|
||||
if(requires_7zip $dlurl) {
|
||||
abort "7zip is required to install this app. please run 'scoop install 7zip'"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user