From 4d9e06810c85692e71dd45a2f2ba325aa8a79f2d Mon Sep 17 00:00:00 2001 From: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com> Date: Fri, 15 Apr 2022 05:09:19 +0530 Subject: [PATCH] neofetch: Remove pre_install script --- bucket/neofetch.json | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/bucket/neofetch.json b/bucket/neofetch.json index 1c690a6e66..fe3386d3b2 100644 --- a/bucket/neofetch.json +++ b/bucket/neofetch.json @@ -4,18 +4,11 @@ "homepage": "https://github.com/dylanaraps/neofetch", "license": "MIT", "suggest": { - "git": [ - "git", - "git-with-openssh" - ] + "git": "git" }, "url": "https://raw.githubusercontent.com/dylanaraps/neofetch/7.1.0/neofetch", "hash": "3dc33493e54029fb1528251552093a9f9a2894fcf94f9c3a6f809136a42348c7", - "pre_install": [ - "if(installed 'git-with-openssh') { $git = 'git-with-openssh' } else { $git = 'git' }", - "Write-Output \"`$GitDir = (Get-Item (scoop which $git) -ErrorAction:Stop).Directory.Parent; if (`$GitDir.FullName -imatch 'mingw') { `$GitDir = `$GitDir.Parent }; & (Join-Path (Join-Path `$GitDir.FullName 'bin') 'bash.exe') `\"`$(Join-Path `$PSScriptRoot 'neofetch')`\" @args\" | Out-File \"$dir\\neofetch.ps1\" -Encoding utf8" - ], - "bin": "neofetch.ps1", + "bin": "neofetch", "checkver": "github", "autoupdate": { "url": "https://raw.githubusercontent.com/dylanaraps/neofetch/$version/neofetch"