From fa753e15b9b048f3ed82fdaf2a7a0cfd7f37ac3d Mon Sep 17 00:00:00 2001 From: oguztecirlioglu <69775148+oguztecirlioglu@users.noreply.github.com> Date: Thu, 17 Sep 2020 17:34:03 +0100 Subject: [PATCH] Used ripgrep to find and remove all lines with "& dir" in the "*.ps1" files. --- _example/install.ps1 | 2 +- bat/install.ps1 | 2 +- comrak/install.ps1 | 2 +- curlie/install.ps1 | 2 +- fd/install.ps1 | 2 +- fzf/install.ps1 | 2 +- lsd/install.ps1 | 2 +- rg/install.ps1 | 2 +- sd/install.ps1 | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/_example/install.ps1 b/_example/install.ps1 index ad1376e..9a2744e 100644 --- a/_example/install.ps1 +++ b/_example/install.ps1 @@ -46,7 +46,7 @@ IF (!(Test-Path -Path "$pkg_src_cmd")) # Windows BSD-tar handles zip. Imagine that. echo "Unpacking $pkg_download" & tar xf "$pkg_download" - & dir + # Settle unpacked archive into place echo "Install Location: $pkg_src_cmd" diff --git a/bat/install.ps1 b/bat/install.ps1 index 6360ede..bc99769 100644 --- a/bat/install.ps1 +++ b/bat/install.ps1 @@ -28,7 +28,7 @@ IF (!(Test-Path -Path "$Env:USERPROFILE\.local\xbin\$VERNAME")) & tar xf "$Env:USERPROFILE\Downloads\$Env:WEBI_PKG_FILE" # Move single binary into root of temporary folder & move "$EXENAME" "$VERNAME" - & dir + # Settle unpacked archive into place echo "New Name: $VERNAME" diff --git a/comrak/install.ps1 b/comrak/install.ps1 index d1ec56e..cca0fd7 100644 --- a/comrak/install.ps1 +++ b/comrak/install.ps1 @@ -24,7 +24,7 @@ IF (!(Test-Path -Path "$Env:USERPROFILE\.local\opt\$Env:PKG_NAME-v$Env:WEBI_VERS # Move single binary into root of temporary folder & move "$Env:USERPROFILE\Downloads\$Env:WEBI_PKG_FILE" "$VERNAME" - & dir + # Settle unpacked archive into place echo "New Name: $VERNAME" diff --git a/curlie/install.ps1 b/curlie/install.ps1 index 6360ede..bc99769 100644 --- a/curlie/install.ps1 +++ b/curlie/install.ps1 @@ -28,7 +28,7 @@ IF (!(Test-Path -Path "$Env:USERPROFILE\.local\xbin\$VERNAME")) & tar xf "$Env:USERPROFILE\Downloads\$Env:WEBI_PKG_FILE" # Move single binary into root of temporary folder & move "$EXENAME" "$VERNAME" - & dir + # Settle unpacked archive into place echo "New Name: $VERNAME" diff --git a/fd/install.ps1 b/fd/install.ps1 index 6360ede..bc99769 100644 --- a/fd/install.ps1 +++ b/fd/install.ps1 @@ -28,7 +28,7 @@ IF (!(Test-Path -Path "$Env:USERPROFILE\.local\xbin\$VERNAME")) & tar xf "$Env:USERPROFILE\Downloads\$Env:WEBI_PKG_FILE" # Move single binary into root of temporary folder & move "$EXENAME" "$VERNAME" - & dir + # Settle unpacked archive into place echo "New Name: $VERNAME" diff --git a/fzf/install.ps1 b/fzf/install.ps1 index 6360ede..af36033 100644 --- a/fzf/install.ps1 +++ b/fzf/install.ps1 @@ -28,7 +28,7 @@ IF (!(Test-Path -Path "$Env:USERPROFILE\.local\xbin\$VERNAME")) & tar xf "$Env:USERPROFILE\Downloads\$Env:WEBI_PKG_FILE" # Move single binary into root of temporary folder & move "$EXENAME" "$VERNAME" - & dir + # Settle unpacked archive into place echo "New Name: $VERNAME" diff --git a/lsd/install.ps1 b/lsd/install.ps1 index bac24ff..15c3124 100644 --- a/lsd/install.ps1 +++ b/lsd/install.ps1 @@ -42,7 +42,7 @@ IF (!(Test-Path -Path "$pkg_src_cmd")) # Windows BSD-tar handles zip. Imagine that. echo "Unpacking $pkg_download" & tar xf "$pkg_download" - & dir + # Settle unpacked archive into place echo "Install Location: $pkg_src_cmd" diff --git a/rg/install.ps1 b/rg/install.ps1 index 61ca3d5..a721bb3 100644 --- a/rg/install.ps1 +++ b/rg/install.ps1 @@ -42,7 +42,7 @@ IF (!(Test-Path -Path "$pkg_src_cmd")) # Windows BSD-tar handles zip. Imagine that. echo "Unpacking $pkg_download" & tar xf "$pkg_download" - & dir + # Settle unpacked archive into place echo "Install Location: $pkg_src_cmd" diff --git a/sd/install.ps1 b/sd/install.ps1 index f68d580..3f3e6f0 100644 --- a/sd/install.ps1 +++ b/sd/install.ps1 @@ -42,7 +42,7 @@ IF (!(Test-Path -Path "$pkg_src_cmd")) # Windows BSD-tar handles zip. Imagine that. echo "Unpacking $pkg_download" & tar xf "$pkg_download" - & dir + # Settle unpacked archive into place echo "Install Location: $pkg_src_cmd" -- 2.25.1