mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-06 02:30:54 -08:00
Fix: Install - Spacing at path
This commit is contained in:
parent
8ab9ffff69
commit
b37e8e3446
2 changed files with 3 additions and 3 deletions
|
|
@ -693,7 +693,7 @@ function Apply-CustomFile() {
|
|||
$global:customFileApplied = $true
|
||||
|
||||
# Apply without duplication
|
||||
if ( -not (Write-Output "$(Write-Output $(Get-Content -Path ${targetFile}))" | Select-String -Pattern "$(Write-Output $(Get-Content -Path ${customFile}))" -SimpleMatch -Quiet) ) {
|
||||
if ( -not (Write-Output "$(Write-Output $(Get-Content -Path "${targetFile}"))" | Select-String -Pattern "$(Write-Output $(Get-Content -Path "${customFile}"))" -SimpleMatch -Quiet) ) {
|
||||
Get-Content -Path "${customFile}" | Out-File -FilePath "${targetFile}" -Append
|
||||
}
|
||||
elseif ( Test-Path -Path "${profilePath}\chrome\${customFile}" -PathType leaf ) {
|
||||
|
|
|
|||
|
|
@ -667,7 +667,7 @@ apply_custom_file() {
|
|||
customFileApplied="true"
|
||||
|
||||
# Apply without duplication
|
||||
if ! grep -Fq "$(echo $(cat ${customFile}))" <(echo "$(echo $(cat ${targetFile}))"); then
|
||||
if ! grep -Fq "$(echo $(cat "${customFile}"))" <(echo "$(echo $(cat "${targetFile}"))"); then
|
||||
cat "${customFile}" >> "${targetFile}"
|
||||
fi
|
||||
elif [ -n "${otherCustom}" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue