* fix qemu for m68k by just using tcg-interpreter, too
[t2sde.git] / package / go / oh-my-posh / no-notice.patch
blob4fe70518f9c560a38be79170bb3d814befcc3aaa
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/oh-my-posh/no-notice.patch
3 # Copyright (C) 2023 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 Avoid checking the web for newer versions at startup as it
15 might be a security risk depending on your threat model.
17 - NoTag <notag@maneto.fr>
19 --- oh-my-posh-14.26.0/src/shell/init.go.vanilla 2023-06-06 18:27:38.641000000 +0300
20 +++ oh-my-posh-14.26.0/src/shell/init.go 2023-06-06 18:28:25.724000000 +0300
21 @@ -11,7 +11,6 @@
23 "github.com/jandedobbeleer/oh-my-posh/src/platform"
24 "github.com/jandedobbeleer/oh-my-posh/src/template"
25 - "github.com/jandedobbeleer/oh-my-posh/src/upgrade"
28 //go:embed scripts/omp.ps1
29 @@ -259,7 +259,7 @@
30 // only run this for shells that support
31 // injecting the notice directly
32 if shell != PWSH && shell != PWSH5 {
33 - notice, hasNotice = upgrade.Notice(env)
34 + notice, hasNotice = "", false // upgrade.Notice(env)
37 return strings.NewReplacer(