File tree Expand file tree Collapse file tree 1 file changed +15
-14
lines changed Expand file tree Collapse file tree 1 file changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -83,21 +83,22 @@ rm -f "$HOME/.pyroscope/rtorrent.d"/view-zz-collapse.rc* 2>/dev/null || :
83
83
./bin/pyroadmin --create-config
84
84
./bin/pyroadmin --create-import " ~/.pyroscope/rtorrent.d/*.rc.default"
85
85
86
- # Relocate to ~/.local?
87
- if test " $PROJECT_ROOT " = " $HOME /lib/pyroscope" ; then
88
- echo
89
- echo " *****************************************************************************"
90
- echo " The default install location has changed, consider moving to the new path"
91
- echo " at '~/.local/pyroscope'!"
92
- echo
93
- cat << 'EOF '
94
- mkdir -p ~/.local/pyroscope
95
- cp -p ~/lib/pyroscope/update-to-head.sh ~/.local/pyroscope
96
- ~/.local/pyroscope/update-to-head.sh
86
+ # Relocate to ~/.local
87
+ test " $PROJECT_ROOT " ! = " $HOME /lib/pyroscope" || cat << 'EOF '
88
+
89
+ *****************************************************************************
90
+ The default install location has changed, consider moving to the new path at
91
+ '~/.local/pyroscope'!
92
+
93
+ Call these commands:
94
+
95
+ mkdir -p ~/.local/pyroscope
96
+ cp -p ~/lib/pyroscope/update-to-head.sh ~/.local/pyroscope
97
+ ~/.local/pyroscope/update-to-head.sh
98
+
99
+ *****************************************************************************
100
+
97
101
EOF
98
- echo " *****************************************************************************"
99
- echo
100
- fi
101
102
102
103
# Make sure PATH is decent
103
104
( echo $PATH | tr : \\ n | egrep " ^$HOME /bin/?\$ " > /dev/null ) || echo " $HOME /bin is NOT on your PATH, you need to fix that" ' !'
You can’t perform that action at this time.
0 commit comments