1
0
mirror of https://github.com/RyanGreenup/cadmus.git synced 2025-08-07 06:37:03 +02:00

Indenting

This commit is contained in:
Ryan Greenup
2020-07-17 04:30:00 +10:00
parent 29a973d066
commit 6fdcbdec85

View File

@@ -49,12 +49,12 @@ To install:
|| echo "Delete ~/.cadmus first" || echo "Delete ~/.cadmus first"
ln -s ~/.cadmus/bin/cadmus $HOME/bin/ ln -s ~/.cadmus/bin/cadmus $HOME/bin/
``` ```
3. add `$HOME/bin` to the `$PATH` variable, something like this should be fairly shell agnostic: 3. If you haven't already add `$HOME/bin` to the `$PATH` variable, something like this should be fairly shell agnostic:
``` bash ``` bash
echo $PATH | grep "$HOME/bin" &> /dev/null && echo "$HOME/bin in path already" || ls "$HOME/bin" &> /dev/null && echo 'PATH="$PATH:$HOME/bin"' >> $HOME/.profile echo $PATH | grep "$HOME/bin" &> /dev/null && echo "$HOME/bin in path already" || ls "$HOME/bin" &> /dev/null && echo 'PATH="$PATH:$HOME/bin"' >> $HOME/.profile
``` ```
4. You will probably need to change the directory to your notes in the script: 4. You will probably need to change the directory to your notes in the script: