changes made

changes made as per request

all set
This commit is contained in:
Pratyush Saxema
2020-09-07 16:20:37 +05:30
parent b228d1253c
commit ee34ace0de
10 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ IF (!(Test-Path -Path "$Env:USERPROFILE\.local\opt\$Env:PKG_NAME-v$Env:WEBI_VERS
# Settle unpacked archive into place
echo "New Name: $VERNAME"
echo "New Location: $Env:USERPROFILE\.local\opt\$Env:PKG_NAME-v$Env:WEBI_VERSION\bin\$VERNAME"
New-Item "$Env:USERPROFILE\.local\opt\$Env:PKG_NAME-v$Env:WEBI_VERSION\bin" -ItemType Directory
New-Item "$Env:USERPROFILE\.local\opt\$Env:PKG_NAME-v$Env:WEBI_VERSION\bin" -ItemType Directory -Force
Move-Item -Path "$VERNAME" -Destination "$Env:USERPROFILE\.local\opt\$Env:PKG_NAME-v$Env:WEBI_VERSION\bin"
# Exit tmp
+1 -1
View File
@@ -33,7 +33,7 @@ IF (!(Test-Path -Path "$pkg_src"))
# Windows BSD-tar handles zip. Imagine that.
echo "Unpacking $pkg_download"
IF (!(Test-Path -Path "$pkg_cmd_name-v$Env:WEBI_VERSION")) {
New-Item -Path "$pkg_cmd_name-v$Env:WEBI_VERSION" -ItemType Directory
New-Item -Path "$pkg_cmd_name-v$Env:WEBI_VERSION" -ItemType Directory -Force
}
($none = pushd "$pkg_cmd_name-v$Env:WEBI_VERSION") | out-null
& tar xf "$pkg_download"
+1 -1
View File
@@ -54,7 +54,7 @@ IF (!(Test-Path -Path "$pkg_src"))
echo "Copying into '$pkg_dst' from '$pkg_src'"
Remove-Item -Path "$pkg_dst" -Recurse -ErrorAction Ignore
Copy-Item -Path "$pkg_src" -Destination "$pkg_dst" -Recurse
IF (!(Test-Path -Path go\bin)) { New-Item -Path go\bin -ItemType Directory }
IF (!(Test-Path -Path go\bin)) { New-Item -Path go\bin -ItemType Directory -Force }
# Special to go: re-run all go tooling builds
echo "Building go language tools..."
+1 -1
View File
@@ -46,7 +46,7 @@ IF (!(Test-Path -Path "$pkg_src_cmd"))
# Settle unpacked archive into place
echo "Install Location: $pkg_src_cmd"
New-Item "$pkg_src_bin" -ItemType Directory
New-Item "$pkg_src_bin" -ItemType Directory -Force
Move-Item -Path ".\lsd-*\lsd.exe" -Destination "$pkg_src_bin"
# Exit tmp
+1 -1
View File
@@ -3,7 +3,7 @@
$my_nerdfont_otf = "Droid Sans Mono for Powerline Nerd Font Complete Windows Compatible.otf"
$my_fontdir = "$Env:UserProfile\AppData\Local\Microsoft\Windows\Fonts"
New-Item -Path "$my_fontdir" -ItemType Directory -ErrorAction Ignore
New-Item -Path "$my_fontdir" -ItemType Directory -Force
IF (!(Test-Path -Path "$my_fontdir\$my_nerdfont_otf"))
{
+1 -1
View File
@@ -46,7 +46,7 @@ IF (!(Test-Path -Path "$pkg_src_cmd"))
# Settle unpacked archive into place
echo "Install Location: $pkg_src_cmd"
New-Item "$pkg_src_bin" -ItemType Directory
New-Item "$pkg_src_bin" -ItemType Directory -Force
Move-Item -Path ".\ripgrep-*\rg.exe" -Destination "$pkg_src_bin"
# Exit tmp
+1 -1
View File
@@ -5,7 +5,7 @@
if (!(Test-Path -Path "$Env:USERPROFILE/.ssh"))
{
New-Item -Path "$Env:USERPROFILE/.ssh" -ItemType Directory
New-Item -Path "$Env:USERPROFILE/.ssh" -ItemType Directory -Force
#& icacls "$Env:USERPROFILE/.ssh" /inheritance:r
#& icacls "$Env:USERPROFILE/.ssh" /grant:r "$Env:USERNAME":"(F)"
}
+1 -1
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env pwsh
IF (!(Test-Path -Path "$Env:USERPROFILE\.vim\pack\plugins\start")) {
New-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start" -ItemType Directory
New-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start" -ItemType Directory -Force
}
Remove-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start\vim-go" -Recurse -ErrorAction Ignore
& git clone --depth=1 https://github.com/fatih/vim-go.git "$Env:USERPROFILE\.vim\pack\plugins\start\vim-go"
+1 -1
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env pwsh
IF (!(Test-Path -Path "$Env:USERPROFILE\.vim\pack\plugins\start")) {
New-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start" -ItemType Directory
New-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start" -ItemType Directory -Force
}
Remove-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start\vim-sensible" -Recurse -ErrorAction Ignore
& git clone --depth=1 https://tpope.io/vim/sensible.git "$Env:USERPROFILE\.vim\pack\plugins\start\vim-sensible"
+1 -1
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env pwsh
IF (!(Test-Path -Path "$Env:USERPROFILE\.vim\pack\plugins\start")) {
New-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start" -ItemType Directory
New-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start" -ItemType Directory -Force
}
Remove-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start\vim-syntastic" -Recurse -ErrorAction Ignore
& git clone --depth=1 https://github.com/vim-syntastic/syntastic.git "$Env:USERPROFILE\.vim\pack\plugins\start\vim-syntastic"