File: 007.fixed-command-manpage.patch

package info (click to toggle)
pyenv 2.5.5-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 8,264 kB
  • sloc: sh: 4,722; python: 402; makefile: 76; ansic: 60
file content (22 lines) | stat: -rw-r--r-- 642 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Fixed command for user's .bashrc
Author: Josenilson Ferreira da Silva <nilsonfsilva@hotmail.com>
Forwarded: not-needed
Last-Update: 2025-05-02

Index: pyenv/man/man1/pyenv.1
===================================================================
--- pyenv.orig/man/man1/pyenv.1
+++ pyenv/man/man1/pyenv.1
@@ -13,8 +13,10 @@ pyenv lets you easily switch between mul
 .P
 .RS 15
 .nf
-if command -v pyenv 1>/dev/null 2>&1; then\n
-   eval "$(pyenv init - bash)" \n
+if command -v pyenv 1>/dev/null 2>&1; then
+    export PYENV_ROOT="$HOME/.pyenv"
+    export PATH="$PYENV_ROOT/bin:$PATH"
+    eval "$(pyenv init - bash)"
 fi
 .fi
 .RE